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-2024-2486

Active Important

ALAS2-2024-2486 (important): ruby

Published
04 Mar 2024
Updated
04 Mar 2024

Related CVEs

CVE identifiers linked by this publisher.

5
Publisher relationship details 5 records

Description

A flaw was discovered in Ruby in the way certain functions handled strings containing NULL bytes. Specifically, the built-in methods File.fnmatch and its alias File.fnmatch? did not properly handle path patterns containing the NULL byte. A remote attacker could exploit this flaw to make a Ruby script access unexpected files and to bypass intended file

Read full publisher description 1602 characters

A flaw was discovered in Ruby in the way certain functions handled strings containing NULL bytes. Specifically, the built-in methods File.fnmatch and its alias File.fnmatch? did not properly handle path patterns containing the NULL byte. A remote attacker could exploit this flaw to make a Ruby script access unexpected files and to bypass intended file system access restrictions. (CVE-2019-15845) WEBrick::HTTPAuth::DigestAuth in Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 has a regular expression Denial of Service cause by looping/backtracking. A victim must expose a WEBrick server that uses DigestAuth to the Internet or a untrusted network. (CVE-2019-16201) Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows HTTP Response Splitting. If a program using WEBrick inserts untrusted input into the response header, an attacker can exploit it to insert a newline character to split a header, and inject malicious content to deceive clients. NOTE: this issue exists because of an incomplete fix for CVE-2017-17742, which addressed the CRLF vector, but did not address an isolated CR or an isolated LF. (CVE-2019-16254) Ruby through 2.4.7, 2.5.x through 2.5.6, and 2.6.x through 2.6.4 allows code injection if the first argument (aka the "command" argument) to Shell#[] or Shell#test in lib/shell.rb is untrusted data. An attacker can exploit this to call an arbitrary Ruby method. (CVE-2019-16255) 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 ALAS2-2024-2486 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.7.aarch64
    • ruby-devel-2.0.0.648-36.amzn2.0.7.aarch64
    • ruby-libs-2.0.0.648-36.amzn2.0.7.aarch64
    • rubygem-bigdecimal-1.2.0-36.amzn2.0.7.aarch64
    • rubygem-io-console-0.4.2-36.amzn2.0.7.aarch64
    • rubygem-json-1.7.7-36.amzn2.0.7.aarch64
    • rubygem-psych-2.0.0-36.amzn2.0.7.aarch64
    • ruby-tcltk-2.0.0.648-36.amzn2.0.7.aarch64
    • ruby-debuginfo-2.0.0.648-36.amzn2.0.7.aarch64
  2. 2ruby

    Occurrence-specific details
    Architecture
    i686

    Replacement RPMs

    • ruby-2.0.0.648-36.amzn2.0.7.i686
    • ruby-devel-2.0.0.648-36.amzn2.0.7.i686
    • ruby-libs-2.0.0.648-36.amzn2.0.7.i686
    • rubygem-bigdecimal-1.2.0-36.amzn2.0.7.i686
    • rubygem-io-console-0.4.2-36.amzn2.0.7.i686
    • rubygem-json-1.7.7-36.amzn2.0.7.i686
    • rubygem-psych-2.0.0-36.amzn2.0.7.i686
    • ruby-tcltk-2.0.0.648-36.amzn2.0.7.i686
    • ruby-debuginfo-2.0.0.648-36.amzn2.0.7.i686
  3. 3ruby

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • rubygems-2.0.14.1-36.amzn2.0.7.noarch
    • rubygems-devel-2.0.14.1-36.amzn2.0.7.noarch
    • rubygem-rake-0.9.6-36.amzn2.0.7.noarch
    • ruby-irb-2.0.0.648-36.amzn2.0.7.noarch
    • rubygem-rdoc-4.0.0-36.amzn2.0.7.noarch
    • ruby-doc-2.0.0.648-36.amzn2.0.7.noarch
    • rubygem-minitest-4.3.2-36.amzn2.0.7.noarch
  4. 4ruby

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • ruby-2.0.0.648-36.amzn2.0.7.src
  5. 5ruby

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • ruby-2.0.0.648-36.amzn2.0.7.x86_64
    • ruby-devel-2.0.0.648-36.amzn2.0.7.x86_64
    • ruby-libs-2.0.0.648-36.amzn2.0.7.x86_64
    • rubygem-bigdecimal-1.2.0-36.amzn2.0.7.x86_64
    • rubygem-io-console-0.4.2-36.amzn2.0.7.x86_64
    • rubygem-json-1.7.7-36.amzn2.0.7.x86_64
    • rubygem-psych-2.0.0-36.amzn2.0.7.x86_64
    • ruby-tcltk-2.0.0.648-36.amzn2.0.7.x86_64
    • ruby-debuginfo-2.0.0.648-36.amzn2.0.7.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

10
  • CVE-2019-15845 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-15845
  • CVE-2019-16201 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-16201
  • CVE-2019-16254 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-16254
  • CVE-2019-16255 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2019-16255
  • CVE-2021-41819 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-41819
  • CVE-2019-15845 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-15845
  • CVE-2019-16201 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16201
  • CVE-2019-16254 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16254
  • CVE-2019-16255 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16255
  • 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/ALAS2-2024-2486.htmlUnknown8d92ca077c9b716bbd476f85fd46854ef6cdd52ef48b85af8efe80aef07e0e84amazon-alas/12026-09-26T01:34:09Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2024-2486.htmlUnknownUnknownamazon-alas/12026-09-26T01:34:09Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2024-2486.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