Skip to main content
← All vulnerabilities
CVE-2024-52007GHSA-GR3C-Q7XF-47VH

XXE vulnerability in XSLT parsing in `org.hl7.fhir.core`

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.4.0
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

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. 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

References 6

GitHub · hapifhir/org.hl7.fhir.core

cheatsheetseries.owasp.org

cwe.mitre.org