Vulnerability · Published Dec 13, 2024 · Assigned by GitHub_M
CVE-2024-55887Ucum-java has an XXE vulnerability in XML parsing
High 8.6
In plain English
A high-severity XML external entity in Ucum-java from FHIR. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.fhir:ucum | 1.0.9 | GHSA-w9j7-phm3-f97j |
Affected products (as reported)
Weakness: CWE-611 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/FHIR/Ucum-java/security/advisories/GHSA-w9j7-phm3-f97j x_refsource_CONFIRM