Skip to content
OpenAdvisories
High · 7.5 CVE-2024-38374 EUVD-2024-1944GHSA-683x-4444-jxh8

Improper Restriction of XML External Entity Reference in org.cyclonedx:cyclonedx-core-java

Published Jun 28, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
CycloneDX cyclonedx-core-java >= 2.1.0, < 9.0.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling dependency-track 4.11.4-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.cyclonedx:cyclonedx-core-java >= 2.1.0, < 9.0.4 9.0.4 GHSA-683x-4444-jxh8

References