Skip to content
OpenAdvisories
Medium ALSA-2023:7025 4 CVEs

Moderate: ruby:2.5 security update

Published Nov 14, 2023 · Updated Nov 2, 2026

Summary

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to perform system management tasks.

Security Fix(es):

* ruby/cgi-gem: HTTP response splitting in CGI (CVE-2021-33621)
* ruby: Buffer overrun in String-to-Float conversion (CVE-2022-28739)
* ruby: ReDoS vulnerability in URI (CVE-2023-28755)
* ruby: ReDoS vulnerability in Time (CVE-2023-28756)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Fixed packages 36

ReleasePackageFixed in
AlmaLinux · 8 ruby 2.5.9-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 ruby-devel 2.5.9-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 ruby-doc 2.5.9-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 ruby-irb 2.5.9-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 ruby-libs 2.5.9-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-abrt 0.3.0-4.module_el8.5.0+2625+ec418553
AlmaLinux · 8 rubygem-abrt-doc 0.3.0-4.module_el8.5.0+2625+ec418553
AlmaLinux · 8 rubygem-bigdecimal 1.3.4-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-bson 4.3.0-2.module_el8.5.0+2625+ec418553
AlmaLinux · 8 rubygem-bson 4.3.0-2.module_el8.6.0+3170+4b08f9d4
AlmaLinux · 8 rubygem-bson 4.3.0-2.module_el8.5.0+259+8cec6917
AlmaLinux · 8 rubygem-bson-doc 4.3.0-2.module_el8.5.0+2625+ec418553
AlmaLinux · 8 rubygem-bundler 1.16.1-4.module_el8.5.0+2625+ec418553
AlmaLinux · 8 rubygem-bundler-doc 1.16.1-4.module_el8.5.0+2625+ec418553
AlmaLinux · 8 rubygem-did_you_mean 1.2.0-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-io-console 0.4.6-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-json 2.1.0-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-minitest 5.10.3-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-mongo 2.5.1-2.module_el8.5.0+2625+ec418553
AlmaLinux · 8 rubygem-mongo-doc 2.5.1-2.module_el8.5.0+2625+ec418553
AlmaLinux · 8 rubygem-mysql2 0.4.10-4.module_el8.5.0+259+8cec6917
AlmaLinux · 8 rubygem-mysql2 0.4.10-4.module_el8.5.0+2625+ec418553
AlmaLinux · 8 rubygem-mysql2 0.4.10-4.module_el8.6.0+3170+4b08f9d4
AlmaLinux · 8 rubygem-mysql2-doc 0.4.10-4.module_el8.5.0+2625+ec418553
AlmaLinux · 8 rubygem-net-telnet 0.1.1-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-openssl 2.1.2-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-pg 1.0.0-3.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-pg-doc 1.0.0-3.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-power_assert 1.1.1-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-psych 3.0.2-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-rake 12.3.3-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-rdoc 6.0.1.1-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-test-unit 3.2.7-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygem-xmlrpc 0.3.0-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygems 2.7.6.3-111.module_el8.9.0+3635+c6f99506
AlmaLinux · 8 rubygems-devel 2.7.6.3-111.module_el8.9.0+3635+c6f99506

Vulnerabilities 4

  • High 8.8

    HTTP response splitting in CGI

    The cgi gem before 0.1.0.2, 0.2.x before 0.2.2, and 0.3.x before 0.3.5 for Ruby allows HTTP response splitting. This is relevant to applications that use untrusted user input either to generate an HTTP response or to create a CGI::Cookie object.

  • High 7.5

    Ruby Time component ReDoS issue

    A ReDoS issue was discovered in the Time component through 0.2.1 in Ruby through 3.2.1. The Time parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to Time objects. The fixed versions are …

  • Medium 5.3

    Ruby URI component ReDoS issue

    A ReDoS issue was discovered in the URI component through 0.12.0 in Ruby through 3.2.1. The URI parser mishandles invalid URLs that have specific characters. It causes an increase in execution time for parsing strings to URI objects. The fixed versions are 0.…

  • Unscored —

    There is a buffer over-read in Ruby before 2.6.10, 2.7.x before 2.7.6, 3.x before 3.0.4, and 3.1.x before 3.1.2. It occ…

References

  • report
    https://access.redhat.com/security/cve/CVE-2021-33621
  • report
    https://access.redhat.com/security/cve/CVE-2022-28739
  • report
    https://access.redhat.com/security/cve/CVE-2023-28755
  • report
    https://access.redhat.com/security/cve/CVE-2023-28756
  • report
    https://bugzilla.redhat.com/2075687
  • report
    https://bugzilla.redhat.com/2149706
  • report
    https://bugzilla.redhat.com/2184059
  • report
    https://bugzilla.redhat.com/2184061
  • report
    https://bugzilla.redhat.com/2210326
  • advisory
    https://errata.almalinux.org/8/ALSA-2023-7025.html