ALAS2-2026-3284
Active ImportantALAS2-2026-3284 (important): ruby
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2026-41316 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2/ALAS2-2026-3284.html |
Description
ERB is a templating system for Ruby. Ruby 2.7.0 (before ERB 2.2.0 was published on rubygems.org) introduced an `@_init` instance variable guard in `ERB#result` and `ERB#run` to prevent code execution when an ERB object is reconstructed via `Marshal.load` (deserialization). However, three other public methods that also evaluate `@src` via `eval()` were not given the same guard: `ERB#def_method`, `ERB#def_module`, and `ERB#def_class`. An attacker who can trigger `Marshal.load` on untrusted data in a Ruby application that has `erb` loaded can use `ERB#def_module` (zero-arg, default parameters) as a code execution sink, bypassing the `@_init` protection entirely. ERB 4.0.3.1, 4.0.4.1, 6.0.1.1, and 6.0.4 patch the issue. (CVE-2026-41316)
Solution
Run yum update ruby or yum update --advisory ALAS2-2026-3284 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 5 occurrences-
1ruby
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- ruby-2.0.0.648-36.amzn2.0.18.aarch64
- ruby-devel-2.0.0.648-36.amzn2.0.18.aarch64
- ruby-libs-2.0.0.648-36.amzn2.0.18.aarch64
- rubygem-bigdecimal-1.2.0-36.amzn2.0.18.aarch64
- rubygem-io-console-0.4.2-36.amzn2.0.18.aarch64
- rubygem-json-1.7.7-36.amzn2.0.18.aarch64
- rubygem-psych-2.0.0-36.amzn2.0.18.aarch64
- ruby-tcltk-2.0.0.648-36.amzn2.0.18.aarch64
- ruby-debuginfo-2.0.0.648-36.amzn2.0.18.aarch64
-
2ruby
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- ruby-2.0.0.648-36.amzn2.0.18.i686
- ruby-devel-2.0.0.648-36.amzn2.0.18.i686
- ruby-libs-2.0.0.648-36.amzn2.0.18.i686
- rubygem-bigdecimal-1.2.0-36.amzn2.0.18.i686
- rubygem-io-console-0.4.2-36.amzn2.0.18.i686
- rubygem-json-1.7.7-36.amzn2.0.18.i686
- rubygem-psych-2.0.0-36.amzn2.0.18.i686
- ruby-tcltk-2.0.0.648-36.amzn2.0.18.i686
- ruby-debuginfo-2.0.0.648-36.amzn2.0.18.i686
-
3ruby
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- rubygems-2.0.14.1-36.amzn2.0.18.noarch
- rubygems-devel-2.0.14.1-36.amzn2.0.18.noarch
- rubygem-rake-0.9.6-36.amzn2.0.18.noarch
- ruby-irb-2.0.0.648-36.amzn2.0.18.noarch
- rubygem-rdoc-4.0.0-36.amzn2.0.18.noarch
- ruby-doc-2.0.0.648-36.amzn2.0.18.noarch
- rubygem-minitest-4.3.2-36.amzn2.0.18.noarch
-
4ruby
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- ruby-2.0.0.648-36.amzn2.0.18.src
-
5ruby
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- ruby-2.0.0.648-36.amzn2.0.18.x86_64
- ruby-devel-2.0.0.648-36.amzn2.0.18.x86_64
- ruby-libs-2.0.0.648-36.amzn2.0.18.x86_64
- rubygem-bigdecimal-1.2.0-36.amzn2.0.18.x86_64
- rubygem-io-console-0.4.2-36.amzn2.0.18.x86_64
- rubygem-json-1.7.7-36.amzn2.0.18.x86_64
- rubygem-psych-2.0.0-36.amzn2.0.18.x86_64
- ruby-tcltk-2.0.0.648-36.amzn2.0.18.x86_64
- ruby-debuginfo-2.0.0.648-36.amzn2.0.18.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- CVE-2026-41316 https://access.redhat.com/security/cve/CVE-2026-41316
- CVE-2026-41316 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-41316
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2026-3284.html | Unknown | 4f80f62f94a87425ae866a11294214889a28d44ea06bdbad3a1f3daddcad4e78 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-3284.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-3284.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |