CVE-2024-38374 json
Improper Restriction of XML External Entity Reference in org.cyclonedx:cyclonedx-core-java
published 2024-06-24 2 y ago modified 2026-09-10 1 mo ago also GHSA-683x-4444-jxh8 , EUVD-2024-1944
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 48%
- public exploits
- 0
- none known
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.
Patch / fix
- maven org.cyclonedx:cyclonedx-core-java 9.0.4
- cyclonedx cyclonedx_core_java 9.0.4
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-38374 updated cvss 7.5
cyclonedx-core-java: XML External Entity injection while evaluating XPath expressions
-
Red Hat Migration Toolkit for Applications 6 cyclonedx-core-java Red Hat Migration Toolkit for Runtimes cyclonedx-core-javaaffected: no fix planned “Will not fix”
-
Red Hat build of Apache Camel for Spring Boot 4 cyclonedx-core-java Red Hat build of Quarkus cyclonedx-core-java Red Hat JBoss Enterprise Application Platform 7 cyclonedx-core-java Red Hat JBoss Enterprise Application Platform 8 cyclonedx-core-java Red Hat JBoss Enterprise Application Platform Expansion Pack cyclonedx-core-java Red Hat streams for Apache Kafka cyclonedx-core-javanot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.59% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.cyclonedx:cyclonedx-core-java | >=2.1.0, <9.0.4 |
9.0.4 |
Affected products
- CycloneDX cyclonedx-core-java
- cyclonedx cyclonedx_core_java
Classification
- Weakness
-
- CWE-611 Improper Restriction of XML External Entity Reference
References
-
github.com
/CycloneDX/cyclonedx-core-java/pull/434
web
-
github.com
/CycloneDX/cyclonedx-core-java/pull/434/commits/ab0bc9c530d24f737970dbd0287d1190b129853d
web
-
github.com
/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-683x-4444-jxh8
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-38374
advisory
-
github.com
/CycloneDX/cyclonedx-core-java
package
Sources
- CVE List CVE-2024-38374
- GitHub Advisory GHSA-683x-4444-jxh8
- NVD CVE-2024-38374
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.