Skip to content
OpenAdvisories
Medium ALSA-2023:3821 3 CVEs

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

Published Jun 27, 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.

The following packages have been upgraded to a later upstream version: ruby (2.7). (BZ#2189465)

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

Fixed packages 40

ReleasePackageFixed in
AlmaLinux · 8 ruby 2.7.8-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 ruby-default-gems 2.7.8-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 ruby-devel 2.7.8-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 ruby-doc 2.7.8-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 ruby-libs 2.7.8-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-abrt 0.4.0-1.module_el8.3.0+6147+d0dfc1e4
AlmaLinux · 8 rubygem-abrt-doc 0.4.0-1.module_el8.3.0+6147+d0dfc1e4
AlmaLinux · 8 rubygem-bigdecimal 2.0.0-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-bson 4.8.1-1.module_el8.5.0+117+35d1289b
AlmaLinux · 8 rubygem-bson 4.8.1-1.module_el8.6.0+3167+957ef55e
AlmaLinux · 8 rubygem-bson 4.8.1-1.module_el8.4.0+2399+4e3a532a
AlmaLinux · 8 rubygem-bson 4.8.1-1.module_el8.3.0+6147+d0dfc1e4
AlmaLinux · 8 rubygem-bson-doc 4.8.1-1.module_el8.3.0+6147+d0dfc1e4
AlmaLinux · 8 rubygem-bundler 2.2.24-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-io-console 0.5.6-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-irb 1.2.6-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-json 2.3.0-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-minitest 5.13.0-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-mongo 2.11.3-1.module_el8.3.0+6147+d0dfc1e4
AlmaLinux · 8 rubygem-mongo-doc 2.11.3-1.module_el8.3.0+6147+d0dfc1e4
AlmaLinux · 8 rubygem-mysql2 0.5.3-1.module_el8.4.0+2399+4e3a532a
AlmaLinux · 8 rubygem-mysql2 0.5.3-1.module_el8.3.0+6147+d0dfc1e4
AlmaLinux · 8 rubygem-mysql2 0.5.3-1.module_el8.6.0+3167+957ef55e
AlmaLinux · 8 rubygem-mysql2 0.5.3-1.module_el8.5.0+117+35d1289b
AlmaLinux · 8 rubygem-mysql2-doc 0.5.3-1.module_el8.3.0+6147+d0dfc1e4
AlmaLinux · 8 rubygem-net-telnet 0.2.0-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-openssl 2.1.4-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-pg 1.2.3-1.module_el8.3.0+6147+d0dfc1e4
AlmaLinux · 8 rubygem-pg 1.2.3-1.module_el8.5.0+117+35d1289b
AlmaLinux · 8 rubygem-pg 1.2.3-1.module_el8.4.0+2399+4e3a532a
AlmaLinux · 8 rubygem-pg 1.2.3-1.module_el8.6.0+3167+957ef55e
AlmaLinux · 8 rubygem-pg-doc 1.2.3-1.module_el8.3.0+6147+d0dfc1e4
AlmaLinux · 8 rubygem-power_assert 1.1.7-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-psych 3.1.0-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-rake 13.0.1-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-rdoc 6.2.1.1-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-test-unit 3.3.4-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygem-xmlrpc 0.3.0-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygems 3.1.6-139.module_el8.8.0+3578+2b4b06da
AlmaLinux · 8 rubygems-devel 3.1.6-139.module_el8.8.0+3578+2b4b06da

Vulnerabilities 3

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

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://bugzilla.redhat.com/2149706
  • report
    https://bugzilla.redhat.com/2184059
  • report
    https://bugzilla.redhat.com/2184061
  • report
    https://bugzilla.redhat.com/2189465
  • advisory
    https://errata.almalinux.org/8/ALSA-2023-3821.html