CVSS 3.1
4.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LMedium (4.3). EPSS 1.5% estimated probability of exploitation activity in the next 30 days. Fixed in rexml 3.3.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:Lrexml (RubyGems): fixed in 3.3.2Explain CVE-2024-39908 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-39908?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-39908?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-39908 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.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-4xqq-m2hx-25v8 | RubyGems | rexml | <3.3.2 | 3.3.2 |
| 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-39908 |
| Debian | 13, 14 | ruby3.3 | 3.3.5-1 | DEBIAN-CVE-2024-39908 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | jruby | no fix listed | UBUNTU-CVE-2024-39908 |
| Ubuntu | 20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.16 | UBUNTU-CVE-2024-39908 USN-7256-1 USN-7418-1 |
| Ubuntu | 22.04:LTS | ruby3.0 | 3.0.2-7ubuntu2.10 | UBUNTU-CVE-2024-39908 USN-7091-1 USN-7418-1 |
| Ubuntu | 24.04:LTS | ruby3.2 | 3.2.3-1ubuntu0.24.04.5 | UBUNTU-CVE-2024-39908 USN-7091-1 USN-7418-1 |
| Ubuntu | Pro:16.04:LTS | ruby2.3 | 2.3.1-2~ubuntu16.04.16+esm11 | UBUNTU-CVE-2024-39908 USN-7840-1 |
| Ubuntu | Pro:18.04:LTS | ruby2.5 | 2.5.1-1ubuntu1.16+esm6 | UBUNTU-CVE-2024-39908 USN-7840-1 |
| Ubuntu | Pro:20.04:LTS | ruby2.7 | 2.7.0-5ubuntu1.18+esm3 | USN-7840-1 |
| 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 |
| 68 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 | 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 |
| AlmaLinux | 8 | rubygem-irb | 1.13.1-3.module_el8.10.0+3894+6d587c81 | ALSA-2024:6784 |
| 54 more for AlmaLinux in the JSON. | ||||
| 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 |
| Rocky Linux | 8 | rubygem-mysql2 | 0:0.5.5-1.module+el8.10.0+1679+61871737 | RLSA-2024:6784 |
| 8 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-39908 |
| Azure Linux | 2 | ruby | 3.1.7-1 | AZL-45435 |
| Azure Linux | 2 | rubygem-rexml | 3.2.7-4 | AZL-45429 |
| Azure Linux | 3 | ruby | 3.3.5-1 | AZL-45769 |
| Azure Linux | 3 | rubygem-rexml | 3.3.4-1 | AZL-45439 |
| Alpaquita | 23 | ruby-rexml | 3.4.4-r0 | BELL-CVE-2024-39908 |
| Alpaquita | stream | ruby-rexml | 3.3.9-r0 | BELL-CVE-2024-39908 |
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; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Moderate.
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 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:3.3/ruby | Not affected | |
| Red Hat Enterprise Linux 8 | pcs | Not affected | |
| Red Hat Enterprise Linux 8 | ruby:2.5/ruby | Will not fix | |
| Red Hat Enterprise Linux 9 | ruby:3.0/ruby | Fix deferred | |
| Red Hat OpenStack Platform 16.1 | puppet-datacat | Out of support scope | |
| Red Hat OpenStack Platform 16.1 | puppet-etcd | Out of support scope | |
| Red Hat OpenStack Platform 16.1 | puppet-opendaylight | Out of support scope | |
| Red Hat OpenStack Platform 16.2 | puppet-datacat | Out of support scope | |
| Red Hat OpenStack Platform 16.2 | puppet-etcd | Out of support scope | |
| Red Hat OpenStack Platform 16.2 | puppet-opendaylight | Out of support scope | |
| Red Hat OpenStack Platform 17.1 | puppet-etcd | Not affected | |
| Red Hat Satellite 6 | foreman | Not affected | |
| 1 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-39908.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.