Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2026-3284

Active Important

ALAS2-2026-3284 (important): ruby

Published
14 May 2026
Updated
14 May 2026

Related CVEs

CVE identifiers linked by this publisher.

1
Publisher relationship details 1 records
Explicit publisher CVE relationships
CVERelationshipPublisher CVE fieldPublisher evidence
CVE-2026-41316Listed by advisory
Exact relationship valueadvisory_list
Publisher references
Exact 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.

5

Shared package data

Applies to all 5 occurrences
  1. 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
  2. 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
  3. 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
  4. 4ruby

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • ruby-2.0.0.648-36.amzn2.0.18.src
  5. 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.

0

No CVSS assessments were provided.

Publisher references

2
  • CVE-2026-41316 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2026-41316
  • CVE-2026-41316 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-41316

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2026-3284.htmlUnknown4f80f62f94a87425ae866a11294214889a28d44ea06bdbad3a1f3daddcad4e78amazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2026-3284.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2026-3284.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected