Red Hat Security Advisory: ruby:3.1 security update
🔗 CVE IDs covered (7)
📋 Description
CVE-2024-39908 — rexml: DoS vulnerability in REXML CVE-2024-41123 — rexml: rubygem-rexml: DoS when parsing an XML having many specific characters such as whitespace character, >] and ]> CVE-2024-41946 — rexml: DoS vulnerability in REXML CVE-2024-43398 — rexml: DoS vulnerability in REXML CVE-2025-27219 — CGI: Denial of Service in CGI::Cookie.parse CVE-2025-27220 — CGI: ReDoS in CGI::Util#escapeElement CVE-2025-27221 — uri: userinfo leakage in URI#join, URI#merge and URI#+
🎯 Affected products137
- Red Hat Enterprise Linux AppStream (v. 8)
- ruby-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.aarch64 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.i686 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.ppc64le (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.s390x (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.src (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.x86_64 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-bundled-gems-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.aarch64 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-bundled-gems-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.i686 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-bundled-gems-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.ppc64le (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-bundled-gems-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.s390x (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-bundled-gems-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.x86_64 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-bundled-gems-debuginfo-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.aarch64 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-bundled-gems-debuginfo-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.i686 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-bundled-gems-debuginfo-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.ppc64le (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-bundled-gems-debuginfo-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.s390x (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-bundled-gems-debuginfo-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.x86_64 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-debuginfo-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.aarch64 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-debuginfo-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.i686 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-debuginfo-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.ppc64le (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-debuginfo-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.s390x (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-debuginfo-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.x86_64 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-debugsource-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.aarch64 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-debugsource-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.i686 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-debugsource-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.ppc64le (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-debugsource-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.s390x (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-debugsource-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.x86_64 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-default-gems-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.noarch (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-devel-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.aarch64 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- ruby-devel-0:3.1.7-145.module+el8.10.0+23011+f9d508f8.i686 (ruby:3.1) as a component of Red Hat Enterprise Linux AppStream (v. 8)
- +107 more not shown
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. It is recommended to upgrade the REXML gem to fix these vulnerabilities. Workaround: Do not process large cookies or strings with the CGI::Cookie.parse method from the CGI library. Adding a check to verify and limit the length of the cookie or string before processing it will mitigate this vulnerability.
🔗 References (11)
- selfhttps://access.redhat.com/errata/RHSA-2025:4063
- externalhttps://access.redhat.com/security/updates/classification/#moderate
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2298243
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2302268
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2302272
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2307297
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2349696
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2349699
- externalhttps://bugzilla.redhat.com/show_bug.cgi?id=2349700
- externalhttps://issues.redhat.com/browse/RHEL-55408
- selfhttps://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_4063.json