Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/CycloneDX/cyclonedx-core-java/pull/434
- https://github.com/CycloneDX/cyclonedx-core-java/pull/434/commits/ab0bc9c530d24f
- https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-683x-4
- https://github.com/CycloneDX/cyclonedx-core-java/pull/434
- https://github.com/CycloneDX/cyclonedx-core-java/pull/434/commits/ab0bc9c530d24f
- https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-683x-4
FAQ
What is CVE-2024-38374?
CVE-2024-38374 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2024-38374?
CVE-2024-38374 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-38374?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.