Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rexml
  4. ›
  5. CVE-2024-39908

CVE-2024-39908: REXML denial of service vulnerability

July 16, 2024 (updated January 17, 2025)

The REXML gem before 3.3.1 has some DoS vulnerabilities when it parses an XML that has many specific characters such as <, 0 and %>.

If you need to parse untrusted XMLs, you may be impacted to these vulnerabilities.

References

  • github.com/advisories/GHSA-4xqq-m2hx-25v8
  • github.com/ruby/rexml
  • github.com/ruby/rexml/releases/tag/v3.3.2
  • github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2024-39908.yml
  • nvd.nist.gov/vuln/detail/CVE-2024-39908
  • security.netapp.com/advisory/ntap-20250117-0008
  • www.ruby-lang.org/en/news/2024/07/16/dos-rexml-cve-2024-39908

Code Behaviors & Features

Detect and mitigate CVE-2024-39908 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.3.2

Fixed versions

  • 3.3.2

Solution

Upgrade to version 3.3.2 or above.

Impact 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

gem/rexml/CVE-2024-39908.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:49 +0000.