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

ALAS2RUBY3.0-2023-003

Active Important

ALAS2RUBY3.0-2023-003 (important): ruby

Published
25 Sep 2023
Updated
25 Sep 2023

Related CVEs

CVE identifiers linked by this publisher.

3
Publisher relationship details 3 records
Explicit publisher CVE relationships
CVE
CVE-2021-41816
CVE-2021-41817
CVE-2021-41819

Description

CGI.escape_html in Ruby before 2.7.5 and 3.x before 3.0.3 has an integer overflow and resultant buffer overflow via a long string on platforms (such as Windows) where size_t and long have different numbers of bytes. This also affects the CGI gem before 0.3.1 for Ruby. (CVE-2021-41816) A flaw was found in ruby, where the date object was found to be vulnerable to a regular expression denial of service (ReDoS) during the parsing of dates. This flaw allows an attacker to hang a ruby application by providing a specially crafted date string. The highest threat to this vulnerability is system availability. (CVE-2021-41817) CGI::Cookie.parse in Ruby through 2.6.8 mishandles security prefixes in cookie names. This also affects the CGI gem through 0.3.0 for Ruby. (CVE-2021-41819)

Solution

Run yum update ruby or yum update --advisory ALAS2RUBY3.0-2023-003 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

4

Shared package data

Applies to all 4 occurrences
  1. 1ruby

    Occurrence-specific details
    Architecture
    aarch64

    Replacement RPMs

    • ruby-3.0.3-154.amzn2.aarch64
    • ruby-devel-3.0.3-154.amzn2.aarch64
    • ruby-libs-3.0.3-154.amzn2.aarch64
    • rubygem-bigdecimal-3.0.0-154.amzn2.aarch64
    • rubygem-io-console-0.5.7-154.amzn2.aarch64
    • rubygem-json-2.5.1-154.amzn2.aarch64
    • rubygem-psych-3.3.2-154.amzn2.aarch64
    • ruby-debuginfo-3.0.3-154.amzn2.aarch64
  2. 2ruby

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • rubygems-3.2.32-154.amzn2.noarch
    • rubygems-devel-3.2.32-154.amzn2.noarch
    • ruby-default-gems-3.0.3-154.amzn2.noarch
    • rubygem-irb-1.3.5-154.amzn2.noarch
    • rubygem-rdoc-6.3.3-154.amzn2.noarch
    • ruby-doc-3.0.3-154.amzn2.noarch
    • rubygem-bundler-2.2.32-154.amzn2.noarch
    • rubygem-minitest-5.14.2-154.amzn2.noarch
    • rubygem-power_assert-1.2.0-154.amzn2.noarch
    • rubygem-rake-13.0.3-154.amzn2.noarch
    • rubygem-rbs-1.4.0-154.amzn2.noarch
    • rubygem-test-unit-3.3.7-154.amzn2.noarch
    • rubygem-rexml-3.2.5-154.amzn2.noarch
    • rubygem-rss-0.2.9-154.amzn2.noarch
    • rubygem-typeprof-0.15.2-154.amzn2.noarch
  3. 3ruby

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • ruby-3.0.3-154.amzn2.src
  4. 4ruby

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • ruby-3.0.3-154.amzn2.x86_64
    • ruby-devel-3.0.3-154.amzn2.x86_64
    • ruby-libs-3.0.3-154.amzn2.x86_64
    • rubygem-bigdecimal-3.0.0-154.amzn2.x86_64
    • rubygem-io-console-0.5.7-154.amzn2.x86_64
    • rubygem-json-2.5.1-154.amzn2.x86_64
    • rubygem-psych-3.3.2-154.amzn2.x86_64
    • ruby-debuginfo-3.0.3-154.amzn2.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

6
  • CVE-2021-41816 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-41816
  • CVE-2021-41817 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-41817
  • CVE-2021-41819 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-41819
  • CVE-2021-41816 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41816
  • CVE-2021-41817 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41817
  • CVE-2021-41819 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41819

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/ALAS2RUBY3.0-2023-003.htmlUnknownbc7eba10dd9529cb39023ad76502b0b170a9f3b47a607791268ff32eb234baf5amazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2RUBY3.0-2023-003.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2RUBY3.0-2023-003.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