XXE vulnerability in XSLT parsing in `org.hl7.fhir.core`
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.4.0
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
HAPI FHIR is a complete implementation of the HL7 FHIR standard for healthcare interoperability in Java. XSLT parsing performed by various components are vulnerable to XML external entity injections. A processed XML file with a malicious DTD tag ( <!DOCTYPE foo [<!ENTITY example SYSTEM "/etc/passwd"> ]> could produce XML containing data from the host system. This impacts use cases where org.hl7.fhir.core is being used to within a host where external clients can submit XML. This is related to GHSA-6cr6-ph3p-f5rf, in which its fix (#1571 & #1717) was incomplete. This issue has been addressed in release version 6.4.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- hapifhir org.hl7.fhir.core
fixed in 6.4.0
- ca.uhn.hapi.fhir:org.hl7.fhir.dstu3Maven
fixed in 6.4.0
- ca.uhn.hapi.fhir:org.hl7.fhir.r4Maven
fixed in 6.4.0
- ca.uhn.hapi.fhir:org.hl7.fhir.r4bMaven
fixed in 6.4.0
- ca.uhn.hapi.fhir:org.hl7.fhir.r5Maven
fixed in 6.4.0
- ca.uhn.hapi.fhir:org.hl7.fhir.utilitiesMaven
fixed in 6.4.0
- ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016mayMaven
fixed in 6.4.0