cve.bz

CVE-2024-49761

6.6 mediumEPSS 1.4%Fix available

Medium (6.6). EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in rexml 3.3.9.

On this page
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.9 has a ReDoS vulnerability when it parses an XML that has many digits between &# and x...; in a hex numeric character reference (&#x...;). This does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. The REXML gem 3.3.9 or later include the patch to fix the vulnerability.

Severity

CVSS 4.0

6.6 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-10-28. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-49761 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-49761?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-49761?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-49761 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
ruby-lang:rexmlbefore 3.3.9
netapp:ontap_tools10

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-2rxp-v6pw-ch6mRubyGemsrexml<3.3.93.3.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ruby2.72.7.4-1+deb11u3DLA-4018-1
Debian12ruby3.1no fix listedDEBIAN-CVE-2024-49761
Debian13, 14ruby3.33.3.6-1DEBIAN-CVE-2024-49761
Ubuntu20.04:LTSruby2.72.7.0-5ubuntu1.15UBUNTU-CVE-2024-49761 USN-7091-2
Ubuntu22.04:LTSruby3.03.0.2-7ubuntu2.8UBUNTU-CVE-2024-49761 USN-7091-1
Ubuntu24.04:LTSruby3.23.2.3-1ubuntu0.24.04.3UBUNTU-CVE-2024-49761 USN-7091-1
UbuntuPro:16.04:LTSruby2.32.3.1-2~ubuntu16.04.16+esm10UBUNTU-CVE-2024-49761 USN-7442-1
UbuntuPro:18.04:LTSruby2.52.5.1-1ubuntu1.16+esm4UBUNTU-CVE-2024-49761 USN-7442-1
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-irb and 5 more0:2.5.9-113.module+el8.10.0+22581+23fc9c9eRHSA-2024:10850
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-libs and 7 more0:3.1.5-144.module+el8.10.0+22580+b97d9670RHSA-2024:10834
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.10.0+22021+135c76a8RHSA-2024:10850
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.4.0-1.module+el8.10.0+21470+43ec8058RHSA-2024:10834
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.3.4-113.module+el8.10.0+22581+23fc9c9eRHSA-2024:10850
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:3.1.1-144.module+el8.10.0+22580+b97d9670RHSA-2024:10834
Red Hatenterprise_linux:8::appstreamrubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more0:4.3.0-2.module+el8.9.0+19193+435404aeRHSA-2024:10850
Red Hatenterprise_linux:8::appstreamrubygem-bundler0:2.3.27-144.module+el8.10.0+22580+b97d9670RHSA-2024:10834
Red Hatenterprise_linux:8::appstreamrubygem-bundler, rubygem-bundler-doc0:1.16.1-4.module+el8.10.0+22021+135c76a8RHSA-2024:10850
Red Hatenterprise_linux:8::appstreamrubygem-did_you_mean0:1.2.0-113.module+el8.10.0+22581+23fc9c9eRHSA-2024:10850
Red Hatenterprise_linux:8::appstreamrubygem-io-console, rubygem-io-console-debuginfo0:0.4.6-113.module+el8.10.0+22581+23fc9c9eRHSA-2024:10850
Red Hatenterprise_linux:8::appstreamrubygem-io-console, rubygem-io-console-debuginfo0:0.5.11-144.module+el8.10.0+22580+b97d9670RHSA-2024:10834
280 more for Red Hat in the JSON and on Red Hat's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as a moderate severity because it allows attackers to exploit inefficient regex parsing in hex numeric character references (&#x...;), causing a ReDoS and impacting availability, it requires specific malicious input but does not affect confidentiality or integrity.

Satellite employs multiple versions of ReXML in the Puppet Agent and Server components across varying versions of Satellite:

- In Satellite 6.15 (on RHEL8), the Puppet Agent component uses ReXML version 7.28-0-1 and IS affected.

- In Satellite 6.15 (on RHEL8), the Satellite server component uses ReXML version 7.17.2-1 and is NOT affected.

- In Satellite 6.16 and 6.17 (on RHEL8 and RHEL9), the Puppet Agent component uses ReXML version 8.8.1-1 and is NOT affected.

- In Satellite 6.16 and 6.17 (on RHEL8 and RHEL9), the Satellite server component uses ReXML version 8.6.2-2 and IS affected.

To reiterate, only the Puppet Agent component in Satellite 6.15 and the Satellite server component in Satellite 6.16 and 6.17 are affected. Any other component/Satellite version combinations are considered not-affected.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8ruby:3.1-8100020241127152928.489197e6Fixed 2024-12-05RHSA-2024:10834
Red Hat Enterprise Linux 8ruby:2.5-8100020241127152844.489197e6Fixed 2024-12-05RHSA-2024:10850
Red Hat Enterprise Linux 8pcs-0:0.10.18-2.el8_10.6Fixed 2025-07-15RHSA-2025:11047
Red Hat Enterprise Linux 8.2 Advanced Update Supportruby:2.5-8020020241211125628.4cda2c84Fixed 2024-12-12RHSA-2024:11027
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportruby:2.5-8040020241211104816.522a0ee4Fixed 2024-12-12RHSA-2024:11028
Red Hat Enterprise Linux 8.4 Telecommunications Update Serviceruby:2.5-8040020241211104816.522a0ee4Fixed 2024-12-12RHSA-2024:11028
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsruby:2.5-8040020241211104816.522a0ee4Fixed 2024-12-12RHSA-2024:11028
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportruby:2.5-8060020241211101132.ad008a3aFixed 2024-12-12RHSA-2024:11029
Red Hat Enterprise Linux 8.6 Telecommunications Update Serviceruby:2.5-8060020241211101132.ad008a3aFixed 2024-12-12RHSA-2024:11029
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicepcs-0:0.10.12-6.el8_6.9Fixed 2025-08-07RHSA-2025:13307
Red Hat 3scale API Management Platform 23scale-amp2/backend-rhel8Not affected
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel7Not affected
Red Hat 3scale API Management Platform 23scale-amp2/toolbox-rhel8Not affected
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel8Will not fix
Red Hat 3scale API Management Platform 23scale-amp2/zync-rhel9Will not fix
Red Hat Enterprise Linux 10rubyNot affected
Red Hat Enterprise Linux 6rubyOut of support scope
Red Hat Enterprise Linux 7rubyOut of support scope
Red Hat Enterprise Linux 8ruby:3.3/rubyNot affected
Red Hat Enterprise Linux 9pcsAffected
31 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-49761.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON