High severity7.5OSV Advisory· Published Jun 28, 2024· Updated Apr 15, 2026
CVE-2024-38374
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.cyclonedx:cyclonedx-core-javaMaven | >= 2.1.0, < 9.0.4 | 9.0.4 |
Affected products
10- Range: cyclonedx-core-java-2.1.0, cyclonedx-core-java-2.1.1, cyclonedx-core-java-2.5.0, …
- osv-coords9 versionspkg:apk/chainguard/dependency-trackpkg:apk/chainguard/dependency-track-bundledpkg:apk/chainguard/hadoop-fips-3.3.6pkg:apk/chainguard/hadoop-fips-3.3.6-compatpkg:apk/chainguard/hadoop-fips-3.3.6-devpkg:apk/chainguard/hadoop-fips-3.3.6-m2pkg:apk/wolfi/dependency-trackpkg:apk/wolfi/dependency-track-bundledpkg:maven/org.cyclonedx/cyclonedx-core-java
< 4.11.4-r0+ 8 more
- (no CPE)range: < 4.11.4-r0
- (no CPE)range: < 4.11.4-r0
- (no CPE)range: < 3.3.6-r1
- (no CPE)range: < 3.3.6-r1
- (no CPE)range: < 3.3.6-r1
- (no CPE)range: < 3.3.6-r1
- (no CPE)range: < 4.11.4-r0
- (no CPE)range: < 4.11.4-r0
- (no CPE)range: >= 2.1.0, < 9.0.4
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-683x-4444-jxh8ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-38374ghsaADVISORY
- github.com/CycloneDX/cyclonedx-core-java/pull/434nvdWEB
- github.com/CycloneDX/cyclonedx-core-java/pull/434/commits/ab0bc9c530d24f737970dbd0287d1190b129853dnvdWEB
- github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-683x-4444-jxh8nvdWEB
News mentions
0No linked articles in our index yet.