{"id":"CVE-2024-38374","state":"PUBLISHED","title":"Improper Restriction of XML External Entity Reference in org.cyclonedx:cyclonedx-core-java","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.\n","publishedAt":"2024-06-28T18:01:51.789Z","updatedAt":"2024-08-02T04:04:25.277Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["CycloneDX cyclonedx-core-java"],"affected":[{"vendor":"CycloneDX","product":"cyclonedx-core-java","versions":[{"version":">= 2.1.0, < 9.0.4","status":"affected"}]}],"references":["https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-683x-4444-jxh8","https://github.com/CycloneDX/cyclonedx-core-java/pull/434","https://github.com/CycloneDX/cyclonedx-core-java/pull/434/commits/ab0bc9c530d24f737970dbd0287d1190b129853d"],"weaknesses":["CWE-611"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/38xxx/CVE-2024-38374.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-38374","state":"PUBLISHED","datePublished":"2024-06-28T18:01:51.789Z","dateUpdated":"2024-08-02T04:04:25.277Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-06-14T14:16:16.466Z"},"containers":{"cna":{"title":"Improper Restriction of XML External Entity Reference in org.cyclonedx:cyclonedx-core-java","descriptions":[{"lang":"en","value":"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.\n"}],"affected":[{"vendor":"CycloneDX","product":"cyclonedx-core-java","versions":[{"version":">= 2.1.0, < 9.0.4","status":"affected"}]}],"references":[{"url":"https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-683x-4444-jxh8","name":"https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-683x-4444-jxh8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/CycloneDX/cyclonedx-core-java/pull/434","name":"https://github.com/CycloneDX/cyclonedx-core-java/pull/434","tags":["x_refsource_MISC"]},{"url":"https://github.com/CycloneDX/cyclonedx-core-java/pull/434/commits/ab0bc9c530d24f737970dbd0287d1190b129853d","name":"https://github.com/CycloneDX/cyclonedx-core-java/pull/434/commits/ab0bc9c530d24f737970dbd0287d1190b129853d","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-611","lang":"en","description":"CWE-611: Improper Restriction of XML External Entity Reference","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-06-28T18:01:51.789Z"},"source":{"advisory":"GHSA-683x-4444-jxh8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"cyclonedx","product":"cyclonedx_core_java","defaultStatus":"unknown","versions":[{"version":"2.1.0","status":"affected","lessThan":"9.0.4","versionType":"custom"}],"cpes":["cpe:2.3:a:cyclonedx:cyclonedx_core_java:2.1.0:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-07-01T18:05:26.661731Z","id":"CVE-2024-38374","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-07-01T18:42:59.045Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-683x-4444-jxh8","name":"https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-683x-4444-jxh8","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/CycloneDX/cyclonedx-core-java/pull/434","name":"https://github.com/CycloneDX/cyclonedx-core-java/pull/434","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/CycloneDX/cyclonedx-core-java/pull/434/commits/ab0bc9c530d24f737970dbd0287d1190b129853d","name":"https://github.com/CycloneDX/cyclonedx-core-java/pull/434/commits/ab0bc9c530d24f737970dbd0287d1190b129853d","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:04:25.277Z"}}]}}}