XXE in Cyclonedx Cyclonedx-Core-Java

CVE-2024-38374

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.

Vulnerability class: XXE (XML External Entity)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS: 0.006 (46.3th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 46th percentile — 46.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2024-38374: held from 0.006 to 0.006.

EPSS over last 30 days · oldest: 0.006 · newest: 0.006 · change: 0.000

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-38374?
CVE-2024-38374 is a high-severity vulnerability in Cyclonedx Cyclonedx-Core-Java, classified under Improper Restriction of XML External Entity Reference (XXE). CVSS score: 7.5/10. Published 2024-06-28.
How severe is CVE-2024-38374?
High severity. CVSS v3 base score is 7.5 out of 10.