Ucum-java XML External Entity Injection Vulnerability in FHIR UCUM Services
CVE-2024-55887 Published on December 13, 2024

Ucum-java has an XXE vulnerability in XML parsing
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.

Github Repository NVD

Vulnerability Analysis

CVE-2024-55887 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
NONE
Scope:
CHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
NONE
Availability Impact:
NONE

Weakness Type

What is a XXE Vulnerability?

The software processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

CVE-2024-55887 has been classified to as a XXE vulnerability or weakness.


Affected Versions

FHIR Ucum-java Version < 1.0.9 is affected by CVE-2024-55887

Vulnerable Packages

The following package name and versions may be associated with CVE-2024-55887

Package Manager Vulnerable Package Versions Fixed In
maven org.fhir:ucum < 1.0.9 1.0.9

Exploit Probability

EPSS
0.15%
Percentile
35.67%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.