CVE-2024-38374
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.
How to fix
- org.cyclonedx:cyclonedx-core-java9.0.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.cyclonedx:cyclonedx-core-javaMaven | 2.1.0 ≤ v < 9.0.4 | 9.0.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.