CVE-2024-38374

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

Published Jun 28, 2024 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1944 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.
Github GHSA Github GHSA GHSA-683x-4444-jxh8 Improper Restriction of XML External Entity Reference in org.cyclonedx:cyclonedx-core-java
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 4:04 AM
Reserved
Jun 14, 2024, 2:16 PM
Status
Deferred
Published
Jun 28, 2024, 6:15 PM
Modified
Jun 17, 2026, 7:40 AM
Severity
Important
Public date
Jun 28, 2024, 12:00 AM