Skip to content
OpenAdvisories
Medium ALSA-2024:1576 4 CVEs

Moderate: ruby:3.1 security, bug fix, and enhancement update

Published Apr 1, 2024 · Updated Oct 29, 2026

Summary

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

The following packages have been upgraded to a later upstream version: ruby (3.1). (AlmaLinux-29052)

Security Fix(es):

* ruby/cgi-gem: HTTP response splitting in CGI (CVE-2021-33621)
* ruby: ReDoS vulnerability in URI (CVE-2023-28755)
* ruby: ReDoS vulnerability - upstream's incomplete fix for CVE-2023-28755 (CVE-2023-36617)
* ruby: ReDoS vulnerability in Time (CVE-2023-28756)

Bug Fix(es):

* ruby/rubygem-irb: IRB has hard dependency on rubygem-rdoc (AlmaLinux-29048)
* ruby: Ruby cannot read private key in FIPS mode on AlmaLinux 9 (AlmaLinux-12437)

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.

Fixed packages 27

ReleasePackageFixed in
AlmaLinux · 9 ruby 3.1.4-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 ruby-bundled-gems 3.1.4-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 ruby-default-gems 3.1.4-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 ruby-devel 3.1.4-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 ruby-doc 3.1.4-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 ruby-libs 3.1.4-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-bigdecimal 3.1.1-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-bundler 2.3.26-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-io-console 0.5.11-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-irb 1.4.1-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-json 2.6.1-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-minitest 5.15.0-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-mysql2 0.5.4-1.module_el9.1.0+8+503f6fbd
AlmaLinux · 9 rubygem-mysql2-doc 0.5.4-1.module_el9.1.0+8+503f6fbd
AlmaLinux · 9 rubygem-pg 1.3.5-1.module_el9.1.0+8+503f6fbd
AlmaLinux · 9 rubygem-pg-doc 1.3.5-1.module_el9.1.0+8+503f6fbd
AlmaLinux · 9 rubygem-power_assert 2.0.1-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-psych 4.0.4-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-rake 13.0.6-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-rbs 2.7.0-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-rdoc 6.4.0-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-rexml 3.2.5-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-rss 0.2.9-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-test-unit 3.5.3-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygem-typeprof 0.21.3-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygems 3.3.26-143.module_el9.3.0+60+5ebc989a
AlmaLinux · 9 rubygems-devel 3.3.26-143.module_el9.3.0+60+5ebc989a

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.…

  • Medium 5.3

    URI gem has ReDoS vulnerability

    A ReDoS issue was discovered in the URI component before 0.12.2 for Ruby. The URI parser mishandles invalid URLs that have specific characters. There is an increase in execution time for parsing strings to URI objects with rfc2396_parser.rb and rfc3986_parser…

References

  • report
    https://access.redhat.com/security/cve/CVE-2021-33621
  • report
    https://access.redhat.com/security/cve/CVE-2023-28755
  • report
    https://access.redhat.com/security/cve/CVE-2023-28756
  • report
    https://access.redhat.com/security/cve/CVE-2023-36617
  • report
    https://bugzilla.redhat.com/2149706
  • report
    https://bugzilla.redhat.com/2184059
  • report
    https://bugzilla.redhat.com/2184061
  • report
    https://bugzilla.redhat.com/2218614
  • advisory
    https://errata.almalinux.org/9/ALSA-2024-1576.html