{"id":"CVE-2024-55887","aliases":["EUVD-2024-3518","GHSA-w9j7-phm3-f97j","ROOT-APP-MAVEN-CVE-2024-55887"],"status":"published","title":"Ucum-java has an XXE vulnerability in XML parsing","description":"Ucum-java is a FHIR Java library providing UCUM Services. In versions prior to 1.0.9, XML 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. Release 1.0.9 of Ucum-java fixes this vulnerability. As a workaround, ensure that the source xml for instantiating UcumEssenceService is trusted.","severity":{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00557,"percentile":0.46924,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-611"],"published":"2024-12-13T16:08:55Z","modified":"2026-10-28T02:30:27Z","fixes":[{"ecosystem":"Maven","package":"org.fhir:ucum","fixed_in":["1.0.9"],"sources":["ghsa","osv"]},{"ecosystem":"Root:Maven","package":"org.fhir:ucum","fixed_in":["1.0.8-aikido.1","1.0.3-aikido.1"],"sources":["osv"]},{"ecosystem":"Root:Maven","package":"io.root.org.fhir:ucum","fixed_in":["1.0.8-root.io.1","1.0.3-root.io.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.fhir:ucum","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.9"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.fhir:ucum","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.9"}]}],"versions":["1.0","1.0.1","1.0.2","1.0.3","1.0.6","1.0.7","1.0.8"]},{"source":"osv","ecosystem":"Root:Maven","package":"org.fhir:ucum","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.8-aikido.1"},{"fixed":"1.0.3-aikido.1"}]}]},{"source":"osv","ecosystem":"Root:Maven","package":"io.root.org.fhir:ucum","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.8-root.io.1"},{"fixed":"1.0.3-root.io.1"}]}]}],"products":[{"vendor":"fhir","product":"ucum-java"}],"references":[{"url":"https://github.com/FHIR/Ucum-java/security/advisories/GHSA-w9j7-phm3-f97j","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-55887","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-w9j7-phm3-f97j"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/55xxx/CVE-2024-55887.json","tags":["advisory"]},{"url":"https://github.com/FHIR/Ucum-java","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-55887","title":"Ucum-java has an XXE vulnerability in XML parsing","description":"Ucum-java is a FHIR Java library providing UCUM Services. In versions prior to 1.0.9, XML 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. Release 1.0.9 of Ucum-java fixes this vulnerability. As a workaround, ensure that the source xml for instantiating UcumEssenceService is trusted.","status":"published","published":"2024-12-13T16:08:55.658Z","modified":"2024-12-13T17:06:54.775Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:34:22.525279Z"}],"euvd":[{"id":"EUVD-2024-3518","description":"Ucum-java is a FHIR Java library providing UCUM Services. In versions prior to 1.0.9, XML 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. Release 1.0.9 of Ucum-java fixes this vulnerability. As a workaround, ensure that the source xml for instantiating UcumEssenceService is trusted.","status":"published","published":"2024-12-13T16:08:55Z","modified":"2024-12-13T17:06:54Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-03T00:04:35.519932Z"}],"ghsa":[{"id":"GHSA-w9j7-phm3-f97j","title":"Ucum-java has an XXE vulnerability in XML parsing","description":"### 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","status":"published","published":"2024-12-13T20:35:57Z","modified":"2024-12-13T20:36:02Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:38:25.334027Z"}],"nvd":[{"id":"CVE-2024-55887","description":"Ucum-java is a FHIR Java library providing UCUM Services. In versions prior to 1.0.9, XML 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. Release 1.0.9 of Ucum-java fixes this vulnerability. As a workaround, ensure that the source xml for instantiating UcumEssenceService is trusted.","status":"published","published":"2024-12-13T16:15:28.063Z","modified":"2026-06-17T08:11:24.583Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T14:10:40.137849Z"}],"osv":[{"id":"CVE-2024-55887","title":"Ucum-java has an XXE vulnerability in XML parsing","description":"Ucum-java is a FHIR Java library providing UCUM Services. In versions prior to 1.0.9, XML 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. Release 1.0.9 of Ucum-java fixes this vulnerability. As a workaround, ensure that the source xml for instantiating UcumEssenceService is trusted.","status":"published","published":"2024-12-13T16:08:55.658Z","modified":"2026-10-28T02:30:27.630212911Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:44:44.777182Z"},{"id":"GHSA-w9j7-phm3-f97j","title":"Ucum-java has an XXE vulnerability in XML parsing","description":"### 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","status":"published","published":"2024-12-13T20:35:57Z","modified":"2024-12-13T21:12:11.21816Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-611"],"updated_at":"2026-11-02T15:46:58.401149Z"},{"id":"ROOT-APP-MAVEN-CVE-2024-55887","title":"CVE-2024-55887 in org.fhir:ucum - Patched by Root","description":"Root has patched CVE-2024-55887 in the org.fhir:ucum package for Root:Maven. Multiple fixed versions available.","status":"published","published":"2026-09-17T11:48:59Z","modified":"2026-09-17T12:15:03.962956665Z","updated_at":"2026-11-02T15:53:27.066589Z"}]}}
