ALAS2RUBY3.0-2023-003
Active ImportantALAS2RUBY3.0-2023-003 (important): ruby
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 3 records
Shared by all 3 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2RUBY3.0-2023-003.html| 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.
Shared package data
Applies to all 4 occurrences-
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
-
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
-
3ruby
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- ruby-3.0.3-154.amzn2.src
-
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.
No CVSS assessments were provided.
Publisher references
6- CVE-2021-41816 https://access.redhat.com/security/cve/CVE-2021-41816
- CVE-2021-41817 https://access.redhat.com/security/cve/CVE-2021-41817
- CVE-2021-41819 https://access.redhat.com/security/cve/CVE-2021-41819
- CVE-2021-41816 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41816
- CVE-2021-41817 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41817
- 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/ALAS2RUBY3.0-2023-003.html | Unknown | bc7eba10dd9529cb39023ad76502b0b170a9f3b47a607791268ff32eb234baf5 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2RUBY3.0-2023-003.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2RUBY3.0-2023-003.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |