CVSS 3.1
5.9 mediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HMedium (5.9). EPSS 1.2% estimated probability of exploitation activity in the next 30 days. Fixed in rexml 3.3.6.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Hrexml (RubyGems): fixed in 3.3.6Explain CVE-2024-43398 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-43398?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-43398?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-43398 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.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| ruby-lang:rexml | before 3.3.6 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-vmwr-mc7x-5vc3 | RubyGems | rexml | <3.3.6 | 3.3.6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | ruby2.7 | 2.7.4-1+deb11u3 | DLA-4018-1 |
| Debian | 12 | ruby3.1 | no fix listed | DEBIAN-CVE-2024-43398 |
| Debian | 13, 14 | ruby3.3 | 3.3.5-1 | DEBIAN-CVE-2024-43398 |
| Ubuntu | 20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.16 | UBUNTU-CVE-2024-43398 USN-7256-1 USN-7418-1 |
| Ubuntu | 22.04:LTS | ruby3.0 | 3.0.2-7ubuntu2.10 | UBUNTU-CVE-2024-43398 USN-7418-1 |
| Ubuntu | 24.04:LTS | ruby3.2 | 3.2.3-1ubuntu0.24.04.5 | UBUNTU-CVE-2024-43398 USN-7418-1 |
| Ubuntu | Pro:16.04:LTS | ruby2.3 | no fix listed | UBUNTU-CVE-2024-43398 |
| Ubuntu | Pro:18.04:LTS | ruby2.5 | no fix listed | UBUNTU-CVE-2024-43398 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 7 more | 0:3.1.7-145.module+el8.10.0+23011+f9d508f8 | RHSA-2025:4063 |
| Red Hat | enterprise_linux:8::appstream | ruby, ruby-doc, ruby-libs and 7 more | 0:3.3.5-3.module+el8.10.0+22271+6a48b0b9 | RHSA-2024:6784 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.10.0+21226+b78a28c4 | RHSA-2024:6784 |
| Red Hat | enterprise_linux:8::appstream | rubygem-abrt, rubygem-abrt-doc | 0:0.4.0-1.module+el8.10.0+21470+43ec8058 | RHSA-2025:4063 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.1.1-145.module+el8.10.0+23011+f9d508f8 | RHSA-2025:4063 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bigdecimal, rubygem-bigdecimal-debuginfo | 0:3.1.5-3.module+el8.10.0+22271+6a48b0b9 | RHSA-2024:6784 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bundler | 0:2.3.27-145.module+el8.10.0+23011+f9d508f8 | RHSA-2025:4063 |
| Red Hat | enterprise_linux:8::appstream | rubygem-bundler | 0:2.5.16-3.module+el8.10.0+22271+6a48b0b9 | RHSA-2024:6784 |
| Red Hat | enterprise_linux:8::appstream | rubygem-io-console, rubygem-io-console-debuginfo | 0:0.5.11-145.module+el8.10.0+23011+f9d508f8 | RHSA-2025:4063 |
| Red Hat | enterprise_linux:8::appstream | rubygem-io-console, rubygem-io-console-debuginfo | 0:0.7.1-3.module+el8.10.0+22271+6a48b0b9 | RHSA-2024:6784 |
| Red Hat | enterprise_linux:8::appstream | rubygem-irb | 0:1.13.1-3.module+el8.10.0+22271+6a48b0b9 | RHSA-2024:6784 |
| Red Hat | enterprise_linux:8::appstream | rubygem-irb | 0:1.4.1-145.module+el8.10.0+23011+f9d508f8 | RHSA-2025:4063 |
| 71 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 9 more | ruby2.5 | 2.5.9-150000.4.32.1 | SUSE-SU-2024:3874-1 |
| SUSE | Package Hub 15 SP6 | rubygem-rexml | 3.3.9-bp156.4.3.1 | openSUSE-SU-2025:0129-1 |
| openSUSE | Leap 15.6 | rubygem-rexml | 3.3.9-bp156.4.3.1 | openSUSE-SU-2025:0129-1 |
| AlmaLinux | 8 | pcs, pcs-snmp | 0.10.18-2.el8_10.2.alma.1 | ALSA-2024:6670 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 3 more | 3.1.7-145.module_el8.10.0+3984+cf55e3df | ALSA-2025:4063 |
| AlmaLinux | 8 | ruby, ruby-doc, ruby-libs and 3 more | 3.3.5-3.module_el8.10.0+3894+6d587c81 | ALSA-2024:6784 |
| AlmaLinux | 8 | rubygem-abrt | 0.4.0-1.module_el8.9.0+3746+91b8233a | ALSA-2025:4063 |
| AlmaLinux | 8 | rubygem-abrt, rubygem-abrt-doc | 0.4.0-1.module_el8.10.0+3799+191214cc | ALSA-2024:6784 |
| AlmaLinux | 8 | rubygem-abrt-doc | 0.4.0-1.module_el8.10.0+3854+02eaa59a | ALSA-2025:4063 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.1.1-145.module_el8.10.0+3984+cf55e3df | ALSA-2025:4063 |
| AlmaLinux | 8 | rubygem-bigdecimal | 3.1.5-3.module_el8.10.0+3894+6d587c81 | ALSA-2024:6784 |
| AlmaLinux | 8 | rubygem-bundler | 2.3.27-145.module_el8.10.0+3984+cf55e3df | ALSA-2025:4063 |
| AlmaLinux | 8 | rubygem-bundler | 2.5.16-3.module_el8.10.0+3894+6d587c81 | ALSA-2024:6784 |
| AlmaLinux | 8 | rubygem-io-console | 0.5.11-145.module_el8.10.0+3984+cf55e3df | ALSA-2025:4063 |
| AlmaLinux | 8 | rubygem-io-console | 0.7.1-3.module_el8.10.0+3894+6d587c81 | ALSA-2024:6784 |
| 55 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | pcs | 0:0.10.18-2.el8_10.2 | RLSA-2024:6670 |
| Rocky Linux | 8 | ruby | 0:3.1.7-145.module+el8.10.0+1957+16e0d1a2 | RLSA-2025:4063 |
| Rocky Linux | 8 | ruby | 0:3.3.5-3.module+el8.10.0+1867+7989c958 | RLSA-2024:6784 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1679+61871737 | RLSA-2024:6784 RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1741+bdb5b6ca | RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1820+f3fffb92 | RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1826+b62220b4 | RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.10.0+1827+16ecb9d2 | RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.5.0+668+665814fa | RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-abrt | 0:0.4.0-1.module+el8.9.0+1537+0b2034bd | RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.3-3.module+el8.10.0+1744+6c504228 | RLSA-2025:4063 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.3-3.module+el8.10.0+1826+b62220b4 | RLSA-2025:4063 |
| 9 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.19, v3.20, v3.21 and 3 more | ruby-rexml | 3.3.9-r0 | ALPINE-CVE-2024-43398 |
| Azure Linux | 2 | ruby | 3.1.7-1 | AZL-48150 |
| Azure Linux | 2 | rubygem-rexml | 3.2.9-1 | AZL-48154 |
| Azure Linux | 3 | ruby | 3.3.5-1 | AZL-48162 |
| Azure Linux | 3 | rubygem-rexml | 3.3.9-1 | AZL-48156 |
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; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
Moderate impact: Red Hat products in the current affected scope, including Red Hat Enterprise Linux and other products that ship the vulnerable REXML component, can be exposed to denial of service when an attacker supplies deeply nested XML with repeated local-name attributes to REXML's tree parser, such as REXML::Document.new. The recorded CVSS 3.1 score is 5.9 (AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H), matching the upstream Moderate assessment and indicating availability impact without confidentiality or integrity impact. Stream parser and SAX2 parser APIs are not affected. The current affects data marks RHEL 10 not affected because the vulnerable code is not present. For delegated affects marked AFFECTED, the owning product teams are pursuing a fix; delegated WONTFIX affects have no fix recorded. The RHEL 9.6 ruby:3.1 affect is marked DEFER, so the fix is deferred for that stream and the residual risk remains denial of service when untrusted XML reaches the affected tree-parser path.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | ruby:3.3-8100020240906074654.489197e6 | Fixed 2024-09-18 | RHSA-2024:6784 |
| Red Hat Enterprise Linux 8 | ruby:3.1-8100020250407112943.489197e6 | Fixed 2025-04-23 | RHSA-2025:4063 |
| Red Hat Enterprise Linux 8 | pcs-0:0.10.18-2.el8_10.2 | Fixed 2024-09-16 | RHSA-2024:6670 |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | pcs-0:0.10.12-6.el8_6.6 | Fixed 2024-09-16 | RHSA-2024:6702 |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | pcs-0:0.10.12-6.el8_6.6 | Fixed 2024-09-16 | RHSA-2024:6702 |
| Red Hat Enterprise Linux 8.8 Extended Update Support | pcs-0:0.10.15-4.el8_8.3 | Fixed 2024-09-16 | RHSA-2024:6703 |
| Red Hat Enterprise Linux 9 | ruby:3.3-9040020240906110954.9 | Fixed 2024-09-18 | RHSA-2024:6785 |
| Red Hat Enterprise Linux 9 | ruby:3.1-9050020250404144903.9 | Fixed 2025-05-06 | RHSA-2025:4488 |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/backend-rhel8 | Will not fix | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/system-rhel7 | Will not fix | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/toolbox-rhel8 | Will not fix | |
| Red Hat 3scale API Management Platform 2 | 3scale-amp2/zync-rhel8 | Will not fix | |
| Red Hat Enterprise Linux 10 | ruby | Not affected | |
| Red Hat Enterprise Linux 10 | ruby:3.3/ruby | Not affected | |
| Red Hat Enterprise Linux 8 | ruby | Will not fix | |
| Red Hat Enterprise Linux 8 | ruby:2.5/ruby | Will not fix | |
| Red Hat Enterprise Linux 9 | pcs | Will not fix | |
| Red Hat Enterprise Linux 9 | ruby | Will not fix | |
| Red Hat OpenStack Platform 16.1 | puppet-datacat | Out of support scope | |
| Red Hat OpenStack Platform 16.1 | puppet-etcd | Out of support scope | |
| 6 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-43398.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.