Skip to content

Commit 401b4a1

Browse files
1 parent 3f9a936 commit 401b4a1

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"schema_version": "1.4.0",
3+
"id": "GHSA-6fhj-vr9j-g45r",
4+
"modified": "2025-11-10T21:04:03Z",
5+
"published": "2025-11-10T21:04:03Z",
6+
"aliases": [
7+
"CVE-2025-64518"
8+
],
9+
"summary": "CycloneDX Core (Java): BOM validation is vulnerable to XML External Entity injection ",
10+
"details": "### Impact\n\nThe XML [`Validator`](https://docs.oracle.com/javase/8/docs/api/javax/xml/validation/Validator.html) used by cyclonedx-core-java was not configured securely, making the library vulnerable to XML External Entity (XXE) injection.\n\nThe fix for GHSA-683x-4444-jxh8 / CVE-2024-38374 has been incomplete in that it only fixed *parsing* of XML BOMs, but not *validation*.\n\n### Patches\n\nThe vulnerability has been fixed in cyclonedx-core-java version 11.0.1.\n\n### Workarounds\n\nIf feasible, applications can reject XML documents before handing them to cyclonedx-core-java for validation.\nThis may be an option if incoming CycloneDX BOMs are known to be in JSON format.\n\n### References\n\n* The issue was introduced via https://github.com/CycloneDX/cyclonedx-core-java/commit/162aa594f347b3f612fe0a45071693c3cd398ce9\n* The issue was fixed via https://github.com/CycloneDX/cyclonedx-core-java/pull/737\n* https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#schemafactory",
11+
"severity": [
12+
{
13+
"type": "CVSS_V3",
14+
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
15+
}
16+
],
17+
"affected": [
18+
{
19+
"package": {
20+
"ecosystem": "Maven",
21+
"name": "org.cyclonedx:cyclonedx-core-java"
22+
},
23+
"ranges": [
24+
{
25+
"type": "ECOSYSTEM",
26+
"events": [
27+
{
28+
"introduced": "2.1.0"
29+
},
30+
{
31+
"fixed": "11.0.1"
32+
}
33+
]
34+
}
35+
]
36+
}
37+
],
38+
"references": [
39+
{
40+
"type": "WEB",
41+
"url": "https://github.com/CycloneDX/cyclonedx-core-java/security/advisories/GHSA-6fhj-vr9j-g45r"
42+
},
43+
{
44+
"type": "WEB",
45+
"url": "https://github.com/CycloneDX/cyclonedx-core-java/pull/737"
46+
},
47+
{
48+
"type": "WEB",
49+
"url": "https://github.com/CycloneDX/cyclonedx-core-java/commit/162aa594f347b3f612fe0a45071693c3cd398ce9"
50+
},
51+
{
52+
"type": "WEB",
53+
"url": "https://github.com/CycloneDX/cyclonedx-core-java/commit/af0ec75c93c03f93733a070c5132554490af5314"
54+
},
55+
{
56+
"type": "WEB",
57+
"url": "https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#schemafactory"
58+
},
59+
{
60+
"type": "PACKAGE",
61+
"url": "https://github.com/CycloneDX/cyclonedx-core-java"
62+
}
63+
],
64+
"database_specific": {
65+
"cwe_ids": [
66+
"CWE-611"
67+
],
68+
"severity": "HIGH",
69+
"github_reviewed": true,
70+
"github_reviewed_at": "2025-11-10T21:04:03Z",
71+
"nvd_published_at": null
72+
}
73+
}

0 commit comments

Comments
 (0)