Skip to content
Noroxi
NVD / CVE Program· CNA GitHub_M

CVE-2024-41123: REXML DoS vulnerability

Noroxi assessment

Priority: Monitor (action score 30/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 1.2% (FIRST EPSS); higher than 70% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: pcs (AlmaLinux:8) 0.10.18-2.el8_10.2.alma.1; pcs-snmp (AlmaLinux:8) 0.10.18-2.el8_10.2.alma.1; ruby (AlmaLinux:8) 3.1.7-145.module_el8.10.0+3984+cf55e3df, 3.3.5-3.module_el8.10.0+3894+6d587c81.
  • Severity is disputed: the assigning authority (CNA) scores it 5.3, NVD 7.5.

Low priority for now. Upgrade to pcs (AlmaLinux:8) 0.10.18-2.el8_10.2.alma.1; pcs-snmp (AlmaLinux:8) 0.10.18-2.el8_10.2.alma.1; ruby (AlmaLinux:8) 3.1.7-145.module_el8.10.0+3984+cf55e3df, 3.3.5-3.module_el8.10.0+3894+6d587c81 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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.

HighCVSS 7.5 · v3.1—No exploit Fix available
Published
Aug 1, 2024
Updated
Jun 17, 2026
EPSS
1.2% · 70th percentile

Report tools

JSON

Action score

30

Monitor

Low priority for now.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.2%

CISA SSVC decision

Exploitation
none
Automatable
yes
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.5
CNA · GitHub_M
5.3
2.2 point gap

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-41123

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
ruby-langrexml

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • ruby-lang rexmlbefore 3.2.7
  • ruby-lang rexml3.2.8 and later · before 3.3.2

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • ruby rexml

    • < 3.3.3affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8pcsbefore 0.10.18-2.el8_10.2.alma.10.10.18-2.el8_10.2.alma.1
AlmaLinux:8pcs-snmpbefore 0.10.18-2.el8_10.2.alma.10.10.18-2.el8_10.2.alma.1
AlmaLinux:8rubybefore 3.1.7-145.module_el8.10.0+3984+cf55e3df3.1.7-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8rubybefore 3.3.5-3.module_el8.10.0+3894+6d587c813.3.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8ruby-bundled-gemsbefore 3.3.5-3.module_el8.10.0+3894+6d587c813.3.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8ruby-bundled-gemsbefore 3.1.7-145.module_el8.10.0+3984+cf55e3df3.1.7-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8ruby-default-gemsbefore 3.1.7-145.module_el8.10.0+3984+cf55e3df3.1.7-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8ruby-default-gemsbefore 3.3.5-3.module_el8.10.0+3894+6d587c813.3.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8ruby-develbefore 3.1.7-145.module_el8.10.0+3984+cf55e3df3.1.7-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8ruby-develbefore 3.3.5-3.module_el8.10.0+3894+6d587c813.3.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8ruby-docbefore 3.1.7-145.module_el8.10.0+3984+cf55e3df3.1.7-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8ruby-docbefore 3.3.5-3.module_el8.10.0+3894+6d587c813.3.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8ruby-libsbefore 3.3.5-3.module_el8.10.0+3894+6d587c813.3.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8ruby-libsbefore 3.1.7-145.module_el8.10.0+3984+cf55e3df3.1.7-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8rubygem-abrtbefore 0.4.0-1.module_el8.9.0+3746+91b8233a0.4.0-1.module_el8.9.0+3746+91b8233a
AlmaLinux:8rubygem-abrtbefore 0.4.0-1.module_el8.10.0+3799+191214cc0.4.0-1.module_el8.10.0+3799+191214cc
AlmaLinux:8rubygem-abrt-docbefore 0.4.0-1.module_el8.10.0+3854+02eaa59a0.4.0-1.module_el8.10.0+3854+02eaa59a
AlmaLinux:8rubygem-abrt-docbefore 0.4.0-1.module_el8.10.0+3799+191214cc0.4.0-1.module_el8.10.0+3799+191214cc
AlmaLinux:8rubygem-bigdecimalbefore 3.1.1-145.module_el8.10.0+3984+cf55e3df3.1.1-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8rubygem-bigdecimalbefore 3.1.5-3.module_el8.10.0+3894+6d587c813.1.5-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8rubygem-bundlerbefore 2.5.16-3.module_el8.10.0+3894+6d587c812.5.16-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8rubygem-bundlerbefore 2.3.27-145.module_el8.10.0+3984+cf55e3df2.3.27-145.module_el8.10.0+3984+cf55e3df
AlmaLinux:8rubygem-io-consolebefore 0.7.1-3.module_el8.10.0+3894+6d587c810.7.1-3.module_el8.10.0+3894+6d587c81
AlmaLinux:8rubygem-io-consolebefore 0.5.11-145.module_el8.10.0+3984+cf55e3df0.5.11-145.module_el8.10.0+3984+cf55e3df

+96

Other highest-scoring records for the same primary product.

  • CVE-2021-28965The REXML gem before 3.2.5 in Ruby before 2.6.7, 2.7.x before 2.7.3, and 3.x before 3.0.1 does not properly address XML round-trip issues.
    32Monitor
  • CVE-2024-41946REXML DoS vulnerability
    30Monitor
  • CVE-2024-49761REXML ReDoS vulnerability
    26Monitor

Published before and after this one in the same product

  • ← EarlierCVE-2024-35176May 16, 2024 · REXML contains a denial of service vulnerability
    22Monitor
  • ← EarlierCVE-2024-39908Jul 16, 2024 · Denial of service in REXML
    17Monitor
  • Later →CVE-2024-43398Aug 22, 2024 · REXML denial of service vulnerability
    23Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:pcs0.10.18-2.el8_10.2.alma.1 · AlmaLinux:8Package registry (OSV)
almalinux:pcs-snmp0.10.18-2.el8_10.2.alma.1 · AlmaLinux:8Package registry (OSV)
almalinux:ruby3.3.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:ruby-bundled-gems3.3.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:ruby-default-gems3.3.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:ruby-devel3.3.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:ruby-doc3.3.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:ruby-libs3.3.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-abrt0.4.0-1.module_el8.10.0+3799+191214cc · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-abrt-doc0.4.0-1.module_el8.10.0+3799+191214cc · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-bigdecimal3.1.5-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
almalinux:rubygem-bundler2.5.16-3.module_el8.10.0+3894+6d587c81 · AlmaLinux:8Package registry (OSV)
alpine:ruby-rexml3.3.9-r0 · Alpine:v3.19Package registry (OSV)
debian:ruby2.72.7.4-1+deb11u3 · Debian:11Package registry (OSV)
debian:ruby3.33.3.5-1 · Debian:13Package registry (OSV)
opensuse:rubygem-rexml3.3.9-bp156.4.3.1 · openSUSE:Leap 15.6Package registry (OSV)
red hat:pcs0:0.10.18-2.el8_10.2 · Red Hat:enterprise_linux:8::highavailabilityPackage registry (OSV)
red hat:pcs-snmp0:0.10.18-2.el8_10.2 · Red Hat:enterprise_linux:8::highavailabilityPackage registry (OSV)
red hat:ruby0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-bundled-gems0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-bundled-gems-debuginfo0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-debuginfo0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-debugsource0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-default-gems0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-devel0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-doc0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-libs0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
red hat:ruby-libs-debuginfo0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 · Red Hat:enterprise_linux:8::appstreamPackage registry (OSV)
rocky linux:pcs0:0.10.18-2.el8_10.2 · Rocky Linux:8Package registry (OSV)
rocky linux:ruby0:3.3.5-3.module+el8.10.0+1867+7989c958 · Rocky Linux:8Package registry (OSV)

+8

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2024-419460 days apartREXML DoS vulnerability
    30Monitor
  • CVE-2024-3517677 days apartREXML contains a denial of service vulnerability
    22Monitor
  • CVE-2024-3990816 days apartDenial of service in REXML
    17Monitor
  • CVE-2025-58767412 days apartREXML has a DoS condition when parsing malformed XML file
    4Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Root cause

Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
function expand(node) {  return node.children.map(expand);}

Fixed

ts
const MAX_DEPTH = 32;function expand(node, depth = 0) {  if (depth > MAX_DEPTH) throw new Error("too deep");  return node.children.map((c) => expand(c, depth + 1));}

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records