Skip to main content
← All vulnerabilities
CVE-2024-38374GHSA-683X-4444-JXH8

Improper Restriction of XML External Entity Reference in org.cyclonedx:cyclonedx-core-java

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.0.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

The CycloneDX core module provides a model representation of the SBOM along with utilities to assist in creating, validating, and parsing SBOMs. Before deserializing CycloneDX Bill of Materials in XML format, cyclonedx-core-java leverages XPath expressions to determine the schema version of the BOM. The `DocumentBuilderFactory` used to evaluate XPath expressions was not configured securely, making the library vulnerable to XML External Entity (XXE) injection. This vulnerability has been fixed in cyclonedx-core-java version 9.0.4.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • CycloneDX cyclonedx-core-java

    From 2.1.0 · fixed in 9.0.4

  • org.cyclonedx:cyclonedx-core-javaMaven

    From 2.1.0 · fixed in 9.0.4

References 3

GitHub · CycloneDX/cyclonedx-core-java