CVE-2024-38374
HIGH 7.5CVSS 3.1Improper Restriction of XML External Entity Reference in org.cyclonedx:cyclonedx-core-java
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.
- Published
- 28 Jun 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-611
- Also known as
- GHSA-683x-4444-jxh8
- Sources
- NVDJSONOSV GHSA-683x-4444-jxh8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.cyclonedx:cyclonedx-core-java | >= 2.1.0, < 9.0.4 | 9.0.4 |
References
- https://github.com/CycloneDX/cyclonedx-core-java/pull/434 · WEB
- https://github.com/CycloneDX/cyclonedx-core-java/pull/434/commits/ab0bc9c530d24f737970dbd0287d1190b129853d · WEB
- https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-683x-4444-jxh8 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-38374 · ADVISORY
- https://github.com/CycloneDX/cyclonedx-core-java · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 28 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 Jun 2024)