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-005

Active Moderate

ALAS2RUBY3.0-2023-005 (medium): ruby

Published
25 Sep 2023
Updated
25 Sep 2023

Related CVEs

CVE identifiers linked by this publisher.

2
Publisher relationship details 2 records
Explicit publisher CVE relationships
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.

4

Shared package data

Applies to all 4 occurrences
  1. 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
  2. 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
  3. 3ruby

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • ruby-3.0.2-149.amzn2.src
  4. 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.

0

No CVSS assessments were provided.

Publisher references

4
  • CVE-2021-31810 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-31810
  • CVE-2021-32066 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2021-32066
  • CVE-2021-31810 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-31810
  • CVE-2021-32066 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32066

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