WaratekVRT Sign in

CVE-2024-38374

Severity7.5 High CVSS 3.1
Fixed in9.0.4
WeaknessXML external entity (XXE) (CWE-611)
Published28 Jun 2024
Updated17 Jun 2026

Description

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.

Exploitation status

Proof of concept only

A proof of concept exists, but no reviewed exploit catalogue lists this CVE.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: yes, technical impact: partial.
  • Indexed PoC none indexed
  • EPSS 0.59% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full XXE
  • Action available security rule
  • Review automated Inferred
  • Record active
Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference.
Candidate fix https://github.com/CycloneDX/cyclonedx-core-java/pull/434 : a pull request: the change under review

How to mitigate CVE-2024-38374

Upgrade the affected software to 9.0.4 or later. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.cyclonedx:cyclonedx-core-java 2.1.0 9.0.4 unbounded

Products and versions

1 product, 1 version entry
SourceVendorProductSchemeAffected versions
osv org.cyclonedx cyclonedx-core-java generic ≥ 2.1.0 and < 9.0.4

References

URLTags
https://github.com/CycloneDX/cyclonedx-core-java/pull/434 pr
https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-683x-4444-jxh8 WEB
https://github.com/CycloneDX/cyclonedx-core-java/pull/434/commits/ab0bc9c530d24f737970dbd0287d1190b129853d WEB
https://github.com/CycloneDX/cyclonedx-core-java PACKAGE

Timeline

Published2024-06-28By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.