Red Hat Security Advisory: ruby:3.1 security update
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): * rexml: DoS vulnerability in REXML (CVE-2024-39908) * rexml: rubygem-rexml: DoS when parsing an XML having many specific characters such as whitespace character, >] and ]> (CVE-2024-41123) * rexml: DoS vulnerability in REXML (CVE-2024-41946) * rexml: DoS vulnerability in REXML (CVE-2024-43398) * CGI: ReDoS in CGI::Util#escapeElement (CVE-2025-27220) * CGI: Denial of Service in CGI::Cookie.parse (CVE-2025-27219) * uri: userinfo leakage in URI#join, URI#merge and URI#+ (CVE-2025-27221) 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.
AI Analysis
Technical Summary
This advisory covers several security vulnerabilities in Ruby 3.1 as packaged by Red Hat, including DoS vulnerabilities in the REXML XML processing library (CVE-2024-39908, CVE-2024-41123, CVE-2024-41946, CVE-2024-43398), ReDoS and DoS issues in the CGI module (CVE-2025-27220, CVE-2025-27219), and a userinfo leakage vulnerability in URI manipulation methods (CVE-2025-27221). These issues can lead to denial of service conditions or unintended disclosure of user information when processing specially crafted inputs. Red Hat has released updated ruby:3.1 packages for Red Hat Enterprise Linux 9 and its variants to remediate these vulnerabilities.
Potential Impact
The vulnerabilities can cause denial of service by crashing or hanging Ruby applications that process malicious XML, CGI, or URI inputs. Additionally, one vulnerability may leak userinfo data during URI operations. These impacts can disrupt application availability or expose sensitive information. No evidence of active exploitation is reported.
Mitigation Recommendations
Red Hat has released an official security update for the ruby:3.1 module in Red Hat Enterprise Linux 9 and related variants that addresses these vulnerabilities. Users should apply the update as per Red Hat's guidance at https://access.redhat.com/articles/11258. Since this is an official fix, applying the update fully mitigates the described issues.
Red Hat Security Advisory: ruby:3.1 security update
Description
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): * rexml: DoS vulnerability in REXML (CVE-2024-39908) * rexml: rubygem-rexml: DoS when parsing an XML having many specific characters such as whitespace character, >] and ]> (CVE-2024-41123) * rexml: DoS vulnerability in REXML (CVE-2024-41946) * rexml: DoS vulnerability in REXML (CVE-2024-43398) * CGI: ReDoS in CGI::Util#escapeElement (CVE-2025-27220) * CGI: Denial of Service in CGI::Cookie.parse (CVE-2025-27219) * uri: userinfo leakage in URI#join, URI#merge and URI#+ (CVE-2025-27221) 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.
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This advisory covers several security vulnerabilities in Ruby 3.1 as packaged by Red Hat, including DoS vulnerabilities in the REXML XML processing library (CVE-2024-39908, CVE-2024-41123, CVE-2024-41946, CVE-2024-43398), ReDoS and DoS issues in the CGI module (CVE-2025-27220, CVE-2025-27219), and a userinfo leakage vulnerability in URI manipulation methods (CVE-2025-27221). These issues can lead to denial of service conditions or unintended disclosure of user information when processing specially crafted inputs. Red Hat has released updated ruby:3.1 packages for Red Hat Enterprise Linux 9 and its variants to remediate these vulnerabilities.
Potential Impact
The vulnerabilities can cause denial of service by crashing or hanging Ruby applications that process malicious XML, CGI, or URI inputs. Additionally, one vulnerability may leak userinfo data during URI operations. These impacts can disrupt application availability or expose sensitive information. No evidence of active exploitation is reported.
Mitigation Recommendations
Red Hat has released an official security update for the ruby:3.1 module in Red Hat Enterprise Linux 9 and related variants that addresses these vulnerabilities. Users should apply the update as per Red Hat's guidance at https://access.redhat.com/articles/11258. Since this is an official fix, applying the update fully mitigates the described issues.
Technical Details
- Gcve Source
- db.gcve.eu
- Csaf Category
- csaf_security_advisory
- Csaf Version
- 2.0
- Publisher
- Red Hat Product Security
- Advisory Id
- RHSA-2025:4488
- Cve Count
- 7
- Additional Cves
- ["CVE-2024-41123","CVE-2024-41946","CVE-2024-43398","CVE-2025-27219","CVE-2025-27220","CVE-2025-27221"]
Threat ID: 6a4049ec27e9c79719836f67
Added to database: 06/27/2026, 22:08:44 UTC
Last enriched: 06/27/2026, 22:41:37 UTC
Last updated: 09/10/2026, 19:24:54 UTC
Views: 125
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.