CycloneDX Core Module Vulnerable to XML External Entity (XXE) Injection
CVE-2024-38374

7.5HIGH

Key Information:

Vendor
Cyclonedx
Status
Cyclonedx-core-java
Vendor
CVE Published:
28 June 2024

Summary

The CycloneDX core module, utilized for creating and managing Software Bill of Materials (SBOM), exhibits a vulnerability due to improper XML deserialization practices. Specifically, the library leverages XPath expressions to ascertain the schema version of the SBOM without adequately securing the DocumentBuilderFactory. As a result, an attacker can exploit this flaw through malicious XML input, leading to potential XML External Entity (XXE) injection attacks. This vulnerability compromises the integrity of applications using the affected versions of the cyclonedx-core-java library, as it may allow attackers to read sensitive files or perform network requests. The issue has been addressed in cyclonedx-core-java version 9.0.4, where enhanced security measures have been implemented.

Affected Version(s)

cyclonedx-core-java >= 2.1.0, < 9.0.4

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.