Improper Restriction of XML External Entity Reference in org.cyclonedx:cyclonedx-core-java
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-611 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| CycloneDX | cyclonedx-core-java | 2.1.0 to before 9.0.4 | 9.0.4 | Patch available | CNA |
| — | org.cyclonedx:cyclonedx-core-java (Maven) | 2.1.0 to before 9.0.4 | 9.0.4 | Patch available | GHSA-683x-4444-jxh8 |
- cyclonedx-core-java VendorCycloneDX Affected 2.1.0 to before 9.0.4 Fixed in 9.0.4 Patch available CNA
- org.cyclonedx:cyclonedx-core-java (Maven) Vendor— Affected 2.1.0 to before 9.0.4 Fixed in 9.0.4 Patch available GHSA-683x-4444-jxh8
Remediation
- Fix · CNA cyclonedx-core-java (CycloneDX) Fixed in 9.0.4
- Fix · GHSA-683x-4444-jxh8 org.cyclonedx:cyclonedx-core-java (Maven) Fixed in 9.0.4 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Migration Toolkit for Applications 6 | Affected | No fix planned: Will not fix |
| Migration Toolkit for Runtimes | Affected | No fix planned: Will not fix |
Not affected: 6 products
- Red Hat JBoss Enterprise Application Platform 7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat build of Apache Camel for Spring Boot 4
- Red Hat build of Quarkus
- streams for Apache Kafka
Timeline
- 2026-10-02 Threatist record created from CVE-2024-38374
- 2026-10-03 Alias added: GHSA-683x-4444-jxh8
References
Other 4
More CycloneDX vulnerabilities
- TI-2024-22686 @cyclonedx/cyclonedx-library Improper Restriction of XML External Entity Reference vulnerability CVSS 3.1HIGH 8.1
- TI-2025-39908 CycloneDX Core (Java): BOM validation is vulnerable to XML External Entity injection CVSS 3.1HIGH 7.5
- TI-2026-50119 @cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized --workspace Argument on Windows CVSS 4.0HIGH 8.5
- TI-2026-40311 @cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized `--workspace` Argument CVSS 4.0HIGH 8.5
- TI-2022-08588 Improper Input Validation leading to Path Traversal in CycloneDX BOM Repository Server CVSS 3.1HIGH 8.1
Sources
- CVE-2024-38374 · CVE Program
- CVE-2024-38374 · NVD
- FIRST EPSS
- GHSA-683x-4444-jxh8 · GitHub Advisory Database · CC BY 4.0
- CVE-2024-38374 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences