Skip to content
OpenAdvisories
High · 8.6 CVE-2024-55887 EUVD-2024-3518GHSA-w9j7-phm3-f97j

Ucum-java has an XXE vulnerability in XML parsing

Published Dec 13, 2024 · Updated Dec 13, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
FHIR Ucum-java < 1.0.9 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.fhir:ucum < 1.0.9 1.0.9 GHSA-w9j7-phm3-f97j

References