CVE-2024-38374
The CycloneDX core module provides a model representation of the …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/CycloneDX/cyclonedx-core-java/pull/434
- github.com/CycloneDX/cyclonedx-core-java/pull/434/commits/ab0bc9c530d24f737970dbd0287d1190
- github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-683x-4444-jxh8
- nvd.nist.gov/vuln/detail/CVE-2024-38374
- github.com/advisories/GHSA-683x-4444-jxh8
- nvd.nist.gov/vuln/detail/CVE-2024-38374
- cve.org/CVERecord?id=CVE-2024-38374
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.