ALAS2-2024-2486
Active ImportantALAS2-2024-2486 (important): ruby
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 5 records
Shared by all 5 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2024-2486.html| CVE |
|---|
| CVE-2019-15845 |
| CVE-2019-16201 |
| CVE-2019-16254 |
| CVE-2019-16255 |
| CVE-2021-41819 |
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.
Shared package data
Applies to all 5 occurrences-
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
-
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
-
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
-
4ruby
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- ruby-2.0.0.648-36.amzn2.0.7.src
-
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.
No CVSS assessments were provided.
Publisher references
10- CVE-2019-15845 https://access.redhat.com/security/cve/CVE-2019-15845
- CVE-2019-16201 https://access.redhat.com/security/cve/CVE-2019-16201
- CVE-2019-16254 https://access.redhat.com/security/cve/CVE-2019-16254
- CVE-2019-16255 https://access.redhat.com/security/cve/CVE-2019-16255
- CVE-2021-41819 https://access.redhat.com/security/cve/CVE-2021-41819
- CVE-2019-15845 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-15845
- CVE-2019-16201 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16201
- CVE-2019-16254 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16254
- CVE-2019-16255 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16255
- CVE-2021-41819 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41819
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-2024-2486.html | Unknown | 8d92ca077c9b716bbd476f85fd46854ef6cdd52ef48b85af8efe80aef07e0e84 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2486.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2024-2486.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |