CVE-2024-41123: ruby-lang rexml Uncontrolled Resource Consumption
CVSS: 7.5v3.1HighModified
AliasesALPINE-CVE-2024-41123UBUNTU-CVE-2024-41123DEBIAN-CVE-2024-41123CGA-2jm9-fg66-cmpxCGA-2xq4-9jrg-w62vCGA-37r5-73mm-x3fjCGA-3gj5-fqjf-h4fqCGA-3hgg-388f-8w5jCGA-3prj-r882-8rm4CGA-4jxm-5rp5-64fqCGA-4qj5-w44h-5326CGA-5c8p-wxw9-34fjCGA-5fr3-mmg5-72j4CGA-64v7-rg6c-g2x2CGA-8w9j-6v2x-6ggvCGA-8xmc-6cpm-f94wCGA-c229-x22r-vc55CGA-cfmq-5q9f-mxc7CGA-cmr7-3929-h88gCGA-gjj9-32j7-mv5mCGA-gmg9-h858-fw7qCGA-gmvj-4w45-9gj6CGA-gx8g-rf45-7rvqCGA-m244-r2wp-c4xrCGA-m64f-rjq9-r5qcCGA-mg8r-rxpm-jqp5CGA-q7r9-9gx8-cmmvCGA-qxgx-mwfm-qm4gCGA-rv2m-p65r-w8c5CGA-rw6c-88h7-hfxpCGA-v5p4-cwjg-xxrgCGA-v6cv-wmr3-cqg7CGA-vfxm-q4hv-wqc3CGA-x93w-5fm3-qwxjCGA-xwcp-9cmm-2fp7CGA-2f32-5cpx-9x7qCGA-2wqr-cq4w-c8x6CGA-3whh-wqpc-qxg9CGA-4p37-gm2q-9mmrCGA-8hh7-ph5j-qp2mCGA-f6q4-cx8h-353gCGA-gcm7-hpqv-wj2fCGA-j97h-rhwg-prc9CGA-jvh6-5jcw-2xxwCGA-mgc3-48x7-5gq4CGA-mj28-5pmj-j34jCGA-mj7g-649h-mh6pGHSA-r55c-59qm-vjw6CGA-qh9f-3hg2-6f65CGA-r494-2q97-v4c4CGA-wjxq-4mhp-mvw4CGA-wxq4-3635-q8j8CGA-x775-869c-xv3vCGA-xwhr-9wm2-fr7q
Published 01-08-2024Last modified 03-11-2025
Vulnerability summary
CVE-2024-41123 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in ruby-lang rexml. EPSS estimates a 1.28% chance of exploitation in the next 30 days, higher than 69.6% of scored vulnerabilities.
CVSS score
7.5/10
010
High · v3.1 (NVD)EPSS score
1.28%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Advisory lineage
Upstream 0 · Downstream 15 · Related 24DLA-4018-1MGASA-2025-0001OPENSUSE-SU-2025:0129-1RHSA-2024:6670RHSA-2024:6702RHSA-2024:6703RHSA-2024:6784RHSA-2024:6785RHSA-2025:4063RHSA-2025:4488SUSE-SU-2024:3874-1USN-7091-1USN-7091-2USN-7418-1USN-7840-1CGA-24JW-G87X-3MGJCGA-53CW-F4VC-X329CGA-5JRW-W32V-8XQ4CGA-6H5Q-RGV8-VX5GCGA-7J6J-656X-J7PHCGA-CCF2-J6HG-PFX6CGA-F453-4QQX-R36PCGA-GVJV-4F2Q-V69CCGA-JG48-JR4V-332GCGA-JXRJ-XH37-F583CGA-PMWG-FXG2-3PQ2CGA-QJF2-JW9X-GHG8CGA-RF7H-9459-7PW9CGA-VV4V-283V-49F3CGA-VVGG-RX7R-RC2FCGA-W4GW-2RGW-GFXHCVE-2024-35176CVE-2024-39908
Timeline
- 01-08-2024PublishedVulnerability first disclosed.
- 03-11-2025Last modifiedVulnerability information updated.
Description
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.2 has some DoS vulnerabilities when it parses an XML that has many specific characters such as whitespace character, `>]` and `]>`. The REXML gem 3.3.3 or later include the patches to fix these vulnerabilities.
CVSS metrics
9 scores · 8 sources · 2 versionsMedium 6.9Preferred score · OSV · Rubygems (Ecosystem advisory) · calculated from vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NSourcesSingle source
High 7.5Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HSources8 sources · 5.3–7.5
- CVE.orgCNA5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · AlpineEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LDiffers
- OSV · RubygemsEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.28%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
0.00 pp
From 1.28% on 18-09-2026
18-09-202618-10-2026
EPSS score1.28%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard25 products
- jruby-9.4< 9.4.9.0-r0
- jruby-9.4-default-ruby< 9.4.9.0-r0
- kube-fluentd-operator< 1.18.2-r14
- kube-fluentd-operator-compat< 1.18.2-r14
- kube-fluentd-operator-default-config< 1.18.2-r14
Wolfi16 products
- jruby-9.4< 9.4.9.0-r0
- jruby-9.4-default-ruby< 9.4.9.0-r0
- kube-fluentd-operator< 1.18.2-r14
- kube-fluentd-operator-compat< 1.18.2-r14
- kube-fluentd-operator-default-config< 1.18.2-r14
Ubuntu6 products
- jrubyAll versions (No fix recorded)
- ruby2.3< 2.3.1-2~ubuntu16.04.16+esm11
- ruby2.5< 2.5.1-1ubuntu1.16+esm6
- ruby2.7< 2.7.0-5ubuntu1.16
- ruby3.0< 3.0.2-7ubuntu2.10
Debian2 products
- ruby3.1All versions (No fix recorded)
- ruby3.3< 3.3.5-1
Alpine1 product
- ruby-rexml≥ 3.2.8, < 3.3.9-r0
Ruby1 product
- rexml< 3.3.3
Ruby-lang1 product
- rexml< 3.2.7 | ≥ 3.2.8, < 3.3.2
RubyGems1 product
- rexml< 3.3.3
8 vendors · 53 products
References
19 links- github.com/ruby/rexml/security/advisories/GHSA-r55c-59qm-vjw6X Refsource CONFIRMREPORTAdvisoryWEBVendor Advisory
- github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8X Refsource MISCAdvisoryWEBNot Applicable
- github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xghX Refsource MISCAdvisoryWEBNot Applicable
Show all 19 references
- github.com/ruby/rexmlPACKAGE