{"answers":{"affected":"It affects 2 products.","exploited":"There is no known exploitation of CVE-2024-49761 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2024-49761 is a medium-severity denial of service vulnerability in ruby rexml, published on 28 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-49761 and fix it if it is affected.\n\nWhat it is: CVE-2024-49761 is a medium-severity denial of service vulnerability in ruby rexml, published on 28 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-49761 in the wild and no public exploit code.\n\nAffected product: ruby rexml. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-49761/ (Markdown: https://insights.sbomify.com/CVE-2024-49761/index.md)","id":"CVE-2024-49761","markdown":"https://insights.sbomify.com/CVE-2024-49761/index.md","name":"CVE-2024-49761","record":{"aliases":["ALPINE-CVE-2024-49761","ALSA-2024:10834","ALSA-2024:10850","ALSA-2024:10858","ALSA-2024:10860","ALSA-2025:11047","AZL-51876","AZL-51894","AZL-51904","AZL-51908","CLSA-2025-1745053071","DEBIAN-CVE-2024-49761","ECHO-7b6a-b6b8-deb0","MINI-ccr5-4hxf-p8rx","MINI-mr5h-rc2g-8v42","OESA-2024-2341","RHSA-2024:10777","RHSA-2024:10834","RHSA-2024:10850","RHSA-2024:10858","RHSA-2024:10860","RHSA-2024:10961","RHSA-2024:10964","RHSA-2024:10966","RHSA-2024:10977","RHSA-2024:10982","RHSA-2024:10984","RHSA-2024:11001","RHSA-2024:11027","RHSA-2024:11028","RHSA-2024:11029","RHSA-2025:11047","RHSA-2025:12499","RHSA-2025:13269","RHSA-2025:13307","RHSA-2025:15124","RHSA-2025:15371","RLSA-2024:10834","RLSA-2024:10850","RLSA-2024:10858","RLSA-2024:10860","RLSA-2025:11047","UBUNTU-CVE-2024-49761"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Ruby XML library","requires_auth":"none","summary":"An attacker can cause a denial of service in applications using the REXML library by sending crafted XML with excessive digits in hex numeric character references.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"ontap_tools","vendor":"netapp"},{"product":"rexml","vendor":"ruby-lang"}],"cvss":{"score":6.6,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"description":"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 \u0026# and x...; in a hex numeric character reference (\u0026#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.","ecosystems":["AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::highavailability","Red Hat:enterprise_linux:8::resilientstorage","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.4::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:8.6::highavailability","Red Hat:rhel_e4s:8.8::highavailability","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.0::highavailability","Red Hat:rhel_e4s:9.0::resilientstorage","Red Hat:rhel_eus:8.8::appstream","Red Hat:rhel_eus:9.2::appstream","Red Hat:rhel_eus:9.2::crb","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::crb","Red Hat:rhel_satellite_client:6::el8","Red Hat:rhel_satellite_client:6::el9","Red Hat:rhel_tus:8.4::appstream","Red Hat:rhel_tus:8.6::appstream","Red Hat:rhel_tus:8.6::highavailability","Red Hat:rhel_tus:8.8::highavailability","Red Hat:satellite:6.16::el8","Red Hat:satellite:6.16::el9","Red Hat:satellite:6.17::el9","Red Hat:satellite_capsule:6.16::el8","Red Hat:satellite_capsule:6.16::el9","Red Hat:satellite_capsule:6.17::el9","Red Hat:satellite_utils:6.16::el8","Red Hat:satellite_utils:6.16::el9","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"REXML ReDoS vulnerability","id":"CVE-2024-49761","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":916,"n_references":3,"next":{"headline":"Pterodactyl Panel has plain-text logging of user passwords when two-factor authentication is disabled","id":"CVE-2024-49762"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["0.10.18-2.el8_10.6.alma.1"],"introduced":["0"],"last_affected":[],"package":"pcs","purl":"pkg:rpm/almalinux/pcs","source":"ALSA-2025:11047"},{"ecosystem":"AlmaLinux:8","fixed":["0.10.18-2.el8_10.6.alma.1"],"introduced":["0"],"last_affected":[],"package":"pcs-snmp","purl":"pkg:rpm/almalinux/pcs-snmp","source":"ALSA-2025:11047"},{"ecosystem":"AlmaLinux:8","fixed":["2.5.9-113.module_el8.10.0+3932+2d440da3"],"introduced":["0"],"last_affected":[],"package":"ruby","purl":"pkg:rpm/almalinux/ruby","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["3.1.5-144.module_el8.10.0+3933+43481280"],"introduced":["0"],"last_affected":[],"package":"ruby","purl":"pkg:rpm/almalinux/ruby","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["3.1.5-144.module_el8.10.0+3933+43481280"],"introduced":["0"],"last_affected":[],"package":"ruby-bundled-gems","purl":"pkg:rpm/almalinux/ruby-bundled-gems","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["3.1.5-144.module_el8.10.0+3933+43481280"],"introduced":["0"],"last_affected":[],"package":"ruby-default-gems","purl":"pkg:rpm/almalinux/ruby-default-gems","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["2.5.9-113.module_el8.10.0+3932+2d440da3"],"introduced":["0"],"last_affected":[],"package":"ruby-devel","purl":"pkg:rpm/almalinux/ruby-devel","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["3.1.5-144.module_el8.10.0+3933+43481280"],"introduced":["0"],"last_affected":[],"package":"ruby-devel","purl":"pkg:rpm/almalinux/ruby-devel","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["2.5.9-113.module_el8.10.0+3932+2d440da3"],"introduced":["0"],"last_affected":[],"package":"ruby-doc","purl":"pkg:rpm/almalinux/ruby-doc","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["3.1.5-144.module_el8.10.0+3933+43481280"],"introduced":["0"],"last_affected":[],"package":"ruby-doc","purl":"pkg:rpm/almalinux/ruby-doc","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["2.5.9-113.module_el8.10.0+3932+2d440da3"],"introduced":["0"],"last_affected":[],"package":"ruby-irb","purl":"pkg:rpm/almalinux/ruby-irb","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["2.5.9-113.module_el8.10.0+3932+2d440da3"],"introduced":["0"],"last_affected":[],"package":"ruby-libs","purl":"pkg:rpm/almalinux/ruby-libs","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["3.1.5-144.module_el8.10.0+3933+43481280"],"introduced":["0"],"last_affected":[],"package":"ruby-libs","purl":"pkg:rpm/almalinux/ruby-libs","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["0.3.0-4.module_el8.5.0+2625+ec418553"],"introduced":["0"],"last_affected":[],"package":"rubygem-abrt","purl":"pkg:rpm/almalinux/rubygem-abrt","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["0.4.0-1.module_el8.9.0+3746+91b8233a"],"introduced":["0"],"last_affected":[],"package":"rubygem-abrt","purl":"pkg:rpm/almalinux/rubygem-abrt","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["0.3.0-4.module_el8.5.0+2623+08a8ba32"],"introduced":["0"],"last_affected":[],"package":"rubygem-abrt-doc","purl":"pkg:rpm/almalinux/rubygem-abrt-doc","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["0.4.0-1.module_el8.10.0+3854+02eaa59a"],"introduced":["0"],"last_affected":[],"package":"rubygem-abrt-doc","purl":"pkg:rpm/almalinux/rubygem-abrt-doc","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["1.3.4-113.module_el8.10.0+3932+2d440da3"],"introduced":["0"],"last_affected":[],"package":"rubygem-bigdecimal","purl":"pkg:rpm/almalinux/rubygem-bigdecimal","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["3.1.1-144.module_el8.10.0+3933+43481280"],"introduced":["0"],"last_affected":[],"package":"rubygem-bigdecimal","purl":"pkg:rpm/almalinux/rubygem-bigdecimal","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["4.3.0-2.module_el8.5.0+259+8cec6917"],"introduced":["0"],"last_affected":[],"package":"rubygem-bson","purl":"pkg:rpm/almalinux/rubygem-bson","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["4.3.0-2.module_el8.5.0+2625+ec418553"],"introduced":["0"],"last_affected":[],"package":"rubygem-bson","purl":"pkg:rpm/almalinux/rubygem-bson","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["4.3.0-2.module_el8.6.0+3170+4b08f9d4"],"introduced":["0"],"last_affected":[],"package":"rubygem-bson","purl":"pkg:rpm/almalinux/rubygem-bson","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["4.3.0-2.module_el8.5.0+2625+ec418553"],"introduced":["0"],"last_affected":[],"package":"rubygem-bson-doc","purl":"pkg:rpm/almalinux/rubygem-bson-doc","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["1.16.1-4.module_el8.10.0+3871+342e2c2f"],"introduced":["0"],"last_affected":[],"package":"rubygem-bundler","purl":"pkg:rpm/almalinux/rubygem-bundler","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["2.3.27-144.module_el8.10.0+3933+43481280"],"introduced":["0"],"last_affected":[],"package":"rubygem-bundler","purl":"pkg:rpm/almalinux/rubygem-bundler","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["1.16.1-4.module_el8.5.0+2625+ec418553"],"introduced":["0"],"last_affected":[],"package":"rubygem-bundler-doc","purl":"pkg:rpm/almalinux/rubygem-bundler-doc","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["1.2.0-113.module_el8.10.0+3932+2d440da3"],"introduced":["0"],"last_affected":[],"package":"rubygem-did_you_mean","purl":"pkg:rpm/almalinux/rubygem-did_you_mean","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["0.4.6-113.module_el8.10.0+3932+2d440da3"],"introduced":["0"],"last_affected":[],"package":"rubygem-io-console","purl":"pkg:rpm/almalinux/rubygem-io-console","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["0.5.11-144.module_el8.10.0+3933+43481280"],"introduced":["0"],"last_affected":[],"package":"rubygem-io-console","purl":"pkg:rpm/almalinux/rubygem-io-console","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["1.4.1-144.module_el8.10.0+3933+43481280"],"introduced":["0"],"last_affected":[],"package":"rubygem-irb","purl":"pkg:rpm/almalinux/rubygem-irb","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["2.1.0-113.module_el8.10.0+3932+2d440da3"],"introduced":["0"],"last_affected":[],"package":"rubygem-json","purl":"pkg:rpm/almalinux/rubygem-json","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["2.6.1-144.module_el8.10.0+3933+43481280"],"introduced":["0"],"last_affected":[],"package":"rubygem-json","purl":"pkg:rpm/almalinux/rubygem-json","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["5.10.3-113.module_el8.10.0+3932+2d440da3"],"introduced":["0"],"last_affected":[],"package":"rubygem-minitest","purl":"pkg:rpm/almalinux/rubygem-minitest","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.0-144.module_el8.10.0+3933+43481280"],"introduced":["0"],"last_affected":[],"package":"rubygem-minitest","purl":"pkg:rpm/almalinux/rubygem-minitest","source":"ALSA-2024:10834"},{"ecosystem":"AlmaLinux:8","fixed":["2.5.1-2.module_el8.5.0+2625+ec418553"],"introduced":["0"],"last_affected":[],"package":"rubygem-mongo","purl":"pkg:rpm/almalinux/rubygem-mongo","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["2.5.1-2.module_el8.5.0+2625+ec418553"],"introduced":["0"],"last_affected":[],"package":"rubygem-mongo-doc","purl":"pkg:rpm/almalinux/rubygem-mongo-doc","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["0.4.10-4.module_el8.5.0+259+8cec6917"],"introduced":["0"],"last_affected":[],"package":"rubygem-mysql2","purl":"pkg:rpm/almalinux/rubygem-mysql2","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["0.4.10-4.module_el8.5.0+2625+ec418553"],"introduced":["0"],"last_affected":[],"package":"rubygem-mysql2","purl":"pkg:rpm/almalinux/rubygem-mysql2","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["0.4.10-4.module_el8.6.0+3170+4b08f9d4"],"introduced":["0"],"last_affected":[],"package":"rubygem-mysql2","purl":"pkg:rpm/almalinux/rubygem-mysql2","source":"ALSA-2024:10850"},{"ecosystem":"AlmaLinux:8","fixed":["0.5.3-3.module_el8.10.0+3854+02eaa59a"],"introduced":["0"],"last_affected":[],"package":"rubygem-mysql2","purl":"pkg:rpm/almalinux/rubygem-mysql2","source":"ALSA-2024:10834"}],"prev":{"headline":"OpenRefine has a path traversal in LoadLanguageCommand","id":"CVE-2024-49760"},"products":["rexml"],"published":"2024-10-28","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["ruby"]},"summary":"An attacker can cause a denial of service in applications using the REXML library by sending crafted XML with excessive digits in hex numeric character references.","url":"https://insights.sbomify.com/CVE-2024-49761/"}