ALAS2RUBY3.0-2023-005
Active ModerateALAS2RUBY3.0-2023-005 (medium): ruby
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 2 records
Shared by all 2 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2RUBY3.0-2023-005.html| CVE |
|---|
| CVE-2021-31810 |
| CVE-2021-32066 |
Description
An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. A malicious FTP server can use the PASV response to trick Net::FTP into connecting back to a given IP address and port. This potentially makes curl extract information about services that are otherwise private and not disclosed (e.g., the attacker can conduct port
Read full publisher description 818 characters
An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. A malicious FTP server can use the PASV response to trick Net::FTP into connecting back to a given IP address and port. This potentially makes curl extract information about services that are otherwise private and not disclosed (e.g., the attacker can conduct port scans and service banner extractions). (CVE-2021-31810) An issue was discovered in Ruby through 2.6.7, 2.7.x through 2.7.3, and 3.x through 3.0.1. Net::IMAP does not raise an exception when StartTLS fails with an an unknown response, which might allow man-in-the-middle attackers to bypass the TLS protections by leveraging a network position between the client and the registry to block the StartTLS command, aka a "StartTLS stripping attack." (CVE-2021-32066)
Solution
Run yum update ruby or yum update --advisory ALAS2RUBY3.0-2023-005 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.2-149.amzn2.aarch64
- ruby-devel-3.0.2-149.amzn2.aarch64
- ruby-libs-3.0.2-149.amzn2.aarch64
- rubygem-bigdecimal-3.0.0-149.amzn2.aarch64
- rubygem-io-console-0.5.7-149.amzn2.aarch64
- rubygem-json-2.5.1-149.amzn2.aarch64
- rubygem-psych-3.3.0-149.amzn2.aarch64
- ruby-debuginfo-3.0.2-149.amzn2.aarch64
-
2ruby
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- rubygems-3.2.22-149.amzn2.noarch
- rubygems-devel-3.2.22-149.amzn2.noarch
- ruby-default-gems-3.0.2-149.amzn2.noarch
- rubygem-irb-1.3.5-149.amzn2.noarch
- rubygem-rdoc-6.3.1-149.amzn2.noarch
- ruby-doc-3.0.2-149.amzn2.noarch
- rubygem-bundler-2.2.22-149.amzn2.noarch
- rubygem-minitest-5.14.2-149.amzn2.noarch
- rubygem-power_assert-1.2.0-149.amzn2.noarch
- rubygem-rake-13.0.3-149.amzn2.noarch
- rubygem-rbs-1.0.4-149.amzn2.noarch
- rubygem-test-unit-3.3.7-149.amzn2.noarch
- rubygem-rexml-3.2.5-149.amzn2.noarch
- rubygem-rss-0.2.9-149.amzn2.noarch
- rubygem-typeprof-0.12.0-149.amzn2.noarch
-
3ruby
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- ruby-3.0.2-149.amzn2.src
-
4ruby
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- ruby-3.0.2-149.amzn2.x86_64
- ruby-devel-3.0.2-149.amzn2.x86_64
- ruby-libs-3.0.2-149.amzn2.x86_64
- rubygem-bigdecimal-3.0.0-149.amzn2.x86_64
- rubygem-io-console-0.5.7-149.amzn2.x86_64
- rubygem-json-2.5.1-149.amzn2.x86_64
- rubygem-psych-3.3.0-149.amzn2.x86_64
- ruby-debuginfo-3.0.2-149.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
4- CVE-2021-31810 https://access.redhat.com/security/cve/CVE-2021-31810
- CVE-2021-32066 https://access.redhat.com/security/cve/CVE-2021-32066
- CVE-2021-31810 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31810
- CVE-2021-32066 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32066
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-005.html | Unknown | 5c550ecd60f5ca269eda72a03e07354d2656b4aafbac041e39fde82b9475cbfb | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2RUBY3.0-2023-005.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2RUBY3.0-2023-005.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |