High, CVSS 8.6MavenPublished
Ucum-java has an XXE vulnerability in XML parsing
CVE-2024-55887 · GHSA-w9j7-phm3-f97j
- Affected
- Maven org.fhir:ucum < 1.0.9
- Fixed in
- 1.0.9· Vendor fix available
- Issue
- Impact 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. Patches Release 1.0.9 of ucum fixes this vulnerability Workarounds Ensure that the source xml for instantiating UcumEssenceService is trusted. References https://cwe.mitre.org/data/definitions/611.html https://cheatsheetseries.owasp.org/cheatsheets/XMLExternalEntityPreventionCheatSheet.html#jaxp-documentbuilderfactory-saxparserfactory-and-dom4j
Recommended action: Upgrade to 1.0.9 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.