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.

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.6%top 53.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenorg.fhir:ucum1.0.9GHSA-w9j7-phm3-f97j

Affected products (as reported)

VendorProductVersions
FHIR Ucum-java < 1.0.9

Weakness: CWE-611 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

References