CVEfocus › CVE database › CVE-2024-52007

CVE-2024-52007XXE vulnerability in XSLT parsing in `org.hl7.fhir.core`

CVSS 8.6 HighEPSS 0.9% (higher than 60% of CVEs)Published 2024-11-08Updated 2024-11-12Assigner: GitHub_M

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.

CWE-611

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Maven libraryca.uhn.hapi.fhir:org.hl7.fhir.dstu2016mayFixed6.4.0GHSA-6cr6-ph3p-f5rf
Maven libraryca.uhn.hapi.fhir:org.hl7.fhir.dstu3Fixed6.3.23GHSA-gr3c-q7xf-47vh
Maven libraryca.uhn.hapi.fhir:org.hl7.fhir.r4Fixed6.3.23GHSA-gr3c-q7xf-47vh
Maven libraryca.uhn.hapi.fhir:org.hl7.fhir.r4bFixed6.4.0GHSA-6cr6-ph3p-f5rf
Maven libraryca.uhn.hapi.fhir:org.hl7.fhir.r5Fixed6.4.0GHSA-6cr6-ph3p-f5rf
Maven libraryca.uhn.hapi.fhir:org.hl7.fhir.utilitiesFixed6.3.23GHSA-gr3c-q7xf-47vh

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.