{ "schema_version": "1.4.0", "id": "GHSA-w9j7-phm3-f97j", "modified": "2024-12-13T20:35:57Z", "published": "2024-12-13T20:35:57Z", "aliases": [ "CVE-2024-55887" ], "summary": "Ucum-java has an XXE vulnerability in XML parsing", "details": "### Impact\nXML parsing performed by the UcumEssenceService is vulnerable to XML external entity injections. A processed XML file with a malicious DTD tag could produce XML containing data from the host system. This impacts use cases where ucum is being used to within a host where external clients can submit XML.\n\n### Patches\nRelease 1.0.9 of ucum fixes this vulnerability\n\n### Workarounds\nEnsure that the source xml for instantiating UcumEssenceService is trusted.\n\n### References\n* https://cwe.mitre.org/data/definitions/611.html\n* https://cheatsheetseries.owasp.org/cheatsheets/XML_External_Entity_Prevention_Cheat_Sheet.html#jaxp-documentbuilderfactory-saxparserfactory-and-dom4j\n", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N" } ], "affected": [ { "package": { "ecosystem": "Maven", "name": "org.fhir:ucum" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "1.0.9" } ] } ] } ], "references": [ { "type": "WEB", "url": "https://github.com/FHIR/Ucum-java/security/advisories/GHSA-w9j7-phm3-f97j" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-55887" }, { "type": "PACKAGE", "url": "https://github.com/FHIR/Ucum-java" } ], "database_specific": { "cwe_ids": [ "CWE-611" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2024-12-13T20:35:57Z", "nvd_published_at": "2024-12-13T16:15:28Z" } }