Ucum-java has an XXE vulnerability in XML parsing
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-611 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| FHIR | Ucum-java | before 1.0.9 | 1.0.9 | Patch available | CNA |
| — | org.fhir:ucum (Maven) | before 1.0.9 | 1.0.9 | Patch available | GHSA-w9j7-phm3-f97j |
- Ucum-java VendorFHIR Affected before 1.0.9 Fixed in 1.0.9 Patch available CNA
- org.fhir:ucum (Maven) Vendor— Affected before 1.0.9 Fixed in 1.0.9 Patch available GHSA-w9j7-phm3-f97j
Remediation
- Fix · CNA Ucum-java (FHIR) Fixed in 1.0.9
- Fix · GHSA-w9j7-phm3-f97j org.fhir:ucum (Maven) Fixed in 1.0.9 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
Not affected: 2 products
- Red Hat Fuse 7
- Red Hat Integration Camel K 1
Timeline
- 2026-10-02 Threatist record created from CVE-2024-55887
- 2026-10-03 Alias added: GHSA-w9j7-phm3-f97j
References
More FHIR vulnerabilities
- TI-2019-09530 XSS exists in the HAPI FHIR testpage overlay module of the HAPI FHIR library before 3.8.0. CVSS 3.0MEDIUM 6.1
- TI-2021-12018 JPA Server in HAPI FHIR before 5.4.0 allows a user to deny service (e.g., disable access… CVSS 3.1MEDIUM 5.3
Sources
- CVE-2024-55887 · CVE Program
- CVE-2024-55887 · NVD
- FIRST EPSS
- GHSA-w9j7-phm3-f97j · GitHub Advisory Database · CC BY 4.0
- CVE-2024-55887 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences