cve.bz

CVE-2024-52007 hapifhir org.hl7.fhir.core

8.6 highEPSS 0.9%Fix available

High (8.6) in hapifhir org.hl7.fhir.core. EPSS 0.9% estimated probability of exploitation activity in the next 30 days. Fixed in ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 6.4.0.

On this page
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.

Severity

CVSS 3.1

8.6 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
EPSS
0.9% (unchanged from 0.9% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 61st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-11-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-611 Improper Restriction of XML External Entity Reference
OWASP Top 10
A02:2025 Security Misconfiguration
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 (Maven): fixed in 6.4.0
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4 (Maven): fixed in 6.4.0
  • ca.uhn.hapi.fhir:org.hl7.fhir.r4b (Maven): fixed in 6.4.0
  • ca.uhn.hapi.fhir:org.hl7.fhir.r5 (Maven): fixed in 6.4.0
  • ca.uhn.hapi.fhir:org.hl7.fhir.utilities (Maven): fixed in 6.4.0
  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): fixed in 6.4.0

Ask an AI about this CVE

Show the promptExplain CVE-2024-52007 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-52007?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-52007?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-52007 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
hapifhir org.hl7.fhir.core< 6.4.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-gr3c-q7xf-47vhMavenca.uhn.hapi.fhir:org.hl7.fhir.dstu3<6.4.06.4.0
GHSA-gr3c-q7xf-47vhMavenca.uhn.hapi.fhir:org.hl7.fhir.r4<6.4.06.4.0
GHSA-gr3c-q7xf-47vhMavenca.uhn.hapi.fhir:org.hl7.fhir.r4b<6.4.06.4.0
GHSA-gr3c-q7xf-47vhMavenca.uhn.hapi.fhir:org.hl7.fhir.r5<6.4.06.4.0
GHSA-gr3c-q7xf-47vhMavenca.uhn.hapi.fhir:org.hl7.fhir.utilities<6.4.06.4.0
GHSA-gr3c-q7xf-47vhMavenca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may<6.4.06.4.0

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is of important severity rather than moderate due to its potential to expose sensitive host data and compromise system integrity. By exploiting the XXE vulnerability, an attacker can read arbitrary files (e.g., `/etc/passwd`), perform Denial of Service (DoS) through resource exhaustion, or even execute further attacks by leveraging accessible information.

Red Hat's mitigation

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

ProductPackageStateAdvisory
Red Hat build of Apache Camel 4.4.4 for Spring Bootorg.hl7.fhir.dstu2016mayFixed 2024-11-15RHSA-2024:9806
Red Hat build of Apache Camel 4.4.4 for Spring Bootorg.hl7.fhir.dstu3Fixed 2024-11-15RHSA-2024:9806
Red Hat build of Apache Camel 4.4.4 for Spring Bootorg.hl7.fhir.r4Fixed 2024-11-15RHSA-2024:9806
Red Hat build of Apache Camel 4.4.4 for Spring Bootorg.hl7.fhir.r5Fixed 2024-11-15RHSA-2024:9806
Red Hat build of Apache Camel 4.4.4 for Spring Bootorg.hl7.fhir.utilitiesFixed 2024-11-15RHSA-2024:9806
Red Hat build of Apache Camel for Spring Boot 3org.hl7.fhir.dstu2016mayOut of support scope
Red Hat build of Apache Camel for Spring Boot 3org.hl7.fhir.dstu3Out of support scope
Red Hat build of Apache Camel for Spring Boot 3org.hl7.fhir.r4Out of support scope
Red Hat build of Apache Camel for Spring Boot 3org.hl7.fhir.r5Out of support scope
Red Hat build of Apache Camel for Spring Boot 3org.hl7.fhir.utilitiesOut of support scope
Red Hat Fuse 7ca.uhn.hapi.fhir-org.hl7.fhir.coreWill not fix
Red Hat Fuse 7org.hl7.fhir.dstu2016mayWill not fix
Red Hat Fuse 7org.hl7.fhir.dstu3Will not fix
Red Hat Fuse 7org.hl7.fhir.r4Will not fix
Red Hat Fuse 7org.hl7.fhir.r5Will not fix
Red Hat Fuse 7org.hl7.fhir.utilitiesWill not fix
Red Hat Integration Camel K 1org.hl7.fhir.dstu3Will not fix
Red Hat Integration Camel K 1org.hl7.fhir.r4Will not fix
Red Hat Integration Camel K 1org.hl7.fhir.r5Will not fix
Red Hat Integration Camel K 1org.hl7.fhir.utilitiesWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-52007.

Attack patterns (CAPEC)

  • CAPEC-221 Data Serialization External Entities Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON