CVE-2024-38374
published high CVSS 3.1 · 7.5Improper Restriction of XML External Entity Reference in org.cyclonedx:cyclonedx-core-java
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| CycloneDX | cyclonedx-core-java | >= 2.1.0, < 9.0.4 (affected) | GitHub_M · cna |
| cyclonedx | cyclonedx_core_java | 2.1.0 to < 9.0.4 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-611 CWE-611: Improper Restriction of XML External Entity Reference
References
3Provider assertions
3GitHub_M · cna
Improper Restriction of XML External Entity Reference in org.cyclonedx:cyclonedx-core-java
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 424e982f9eec4174b6e656277b827ba5654711b93ab2eedec11963c99633c112
- Ingested
- 23 Sep 2026, 08:24:48 UTC
- Source record
- Official CVE record