Skip to content
OpenAdvisories
Medium RLSA-2024:1431 4 CVEs

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

Published Mar 27, 2024 · Updated Feb 4, 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). (Rocky Linux-28565)

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 (Rocky Linux-28569)

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 4

ReleasePackageFixed in
Rocky Linux · 8 ruby 0:3.1.4-142.module+el8.9.0+1759+ff68ae72
Rocky Linux · 8 rubygem-abrt 0:0.4.0-1.module+el8.5.0+668+665814fa
Rocky Linux · 8 rubygem-mysql2 0:0.5.3-3.module+el8.9.0+1759+ff68ae72
Rocky Linux · 8 rubygem-pg 0:1.3.2-1.module+el8.7.0+1081+f0a69743

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://bugzilla.redhat.com/show_bug.cgi?id=2149706
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2184059
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2184061
  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=2218614