Skip to main content
No exploitation reportedFix available

CVE-2024-52007

No exploitation reported by the sources we read.

  • Published2024-11-08
  • Fixed in6.4.0
  • WeaknessCWE-611

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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

dates in UTC
  1. 2024-11-0823:15CVE publishedNVD

Versions per branch

CISA-ADP · OSV
Hapifhir hl7 fhir core
BranchAffectedFixed in
6.4< 6.4.06.4.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • hapifhir org.hl7.fhir.core
    Affected
    • = < 6.4.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-11-08

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • ca.uhn.hapi.fhir:org.hl7.fhir.r4Root:Mavenall versions · fixed in 6.0.1-aikido.2and 5 other packages
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4Root:Mavenall versions · fixed in 6.0.1-aikido.3and 5 other packages
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4Root:Mavenall versions · fixed in 6.0.1-aikido.4and 5 other packages
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4Root:Mavenall versions · fixed in 6.4.0-aikido.1and 4 other packages
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4Root:Mavenall versions · fixed in 6.4.0-aikido.2and 5 other packages
  • io.root.ca.uhn.hapi.fhir:org.hl7.fhir.r4Root:Mavenall versions · fixed in 6.0.1-root.io.2and 5 other packages
  • io.root.ca.uhn.hapi.fhir:org.hl7.fhir.r4Root:Mavenall versions · fixed in 6.0.1-root.io.3and 5 other packages
  • io.root.ca.uhn.hapi.fhir:org.hl7.fhir.r4Root:Mavenall versions · fixed in 6.0.1-root.io.4and 5 other packages

2 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-52007 Red Hat Product Security1 product fixed · 15 known affected

    org.hl7.fhir.dstu2016may: org.hl7.fhir.dstu3: org.hl7.fhir.r4: org.hl7.fhir.r5: org.hl7.fhir.utilities: org.hl7.fhir.core: XXE vulnerability in XSLT parsing in `org.hl7.fhir.core`

    org.hl7.fhir.dstu2016may as a component of Red Hat build of Apache Camel for Spring Boot 3 · org.hl7.fhir.dstu3 as a component of Red Hat build of Apache Camel for Spring Boot 3 · org.hl7.fhir.r4 as a component of Red Hat build of Apache Camel for Spring Boot 3 · +12 more

  • RHSA-2024:9806 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat Build of Apache Camel 4.4.4 for Spring Boot security update.

Full record on NVD

Fix

  1. Update Hapifhir hl7 fhir core to 6.4.0
  2. Vendor fix Red Hat Product Security RHSA-2024:9806 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. Workaround from the vendor Red Hat Product Security RHSA-2024:9806 · 1 productMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
  4. No fix planned, says the vendor Red Hat Product Security CVE-2024-52007 · 5 productsOut of support scope
  5. No fix planned, says the vendor Red Hat Product Security CVE-2024-52007 · 10 productsWill not fix

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionnone2024-11-12
  • CNACVSS 3.18.6known since 2026-10-23
  • CNAweakness (CWE)CWE-611known since 2026-10-23
  • FIRST EPSSEPSS score1.6 %2026-11-25
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2024-11-08

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Published
2024-11-08
Last modified
2026-06-17
NVD status
Deferred
GitHub advisory
GHSA-gr3c-q7xf-47vh

Frequently asked questions

What is CVE-2024-52007?

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.

Is CVE-2024-52007 actively exploited?

Active exploitation of CVE-2024-52007 has not been confirmed. Its EPSS score was 1.6% on 2026-11-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-52007?

CVE-2024-52007 has a CVSS v3 base score of 8.6 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N.

Running org.hl7.fhir.dstu2016may? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record