cve.bz

CVE-2024-51132

9.8 criticalEPSS 1.9%Fix available

Critical (9.8). EPSS 1.9% estimated probability of exploitation activity in the next 30 days. Fixed in ca.uhn.hapi.fhir:org.hl7.fhir.convertors 6.4.0.

On this page
An XML External Entity (XXE) vulnerability in HAPI FHIR before v6.4.0 allows attackers to access sensitive information or execute arbitrary code via supplying a crafted request containing malicious XML entities.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.9% (unchanged from 1.9% a week ago; 1.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 80th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2024-11-06. 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.convertors (Maven): fixed in 6.4.0
  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 (Maven): fixed in 6.4.0
  • ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may (Maven): fixed in 6.4.0
  • 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

Ask an AI about this CVE

Show the promptExplain CVE-2024-51132 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-51132?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-51132?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-51132 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.

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-4cf2-cxp3-rjr7Mavenca.uhn.hapi.fhir:org.hl7.fhir.convertors<6.4.06.4.0
GHSA-4cf2-cxp3-rjr7Mavenca.uhn.hapi.fhir:org.hl7.fhir.dstu2<6.4.06.4.0
GHSA-4cf2-cxp3-rjr7Mavenca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may<6.4.06.4.0
GHSA-4cf2-cxp3-rjr7Mavenca.uhn.hapi.fhir:org.hl7.fhir.dstu3<6.4.06.4.0
GHSA-4cf2-cxp3-rjr7Mavenca.uhn.hapi.fhir:org.hl7.fhir.r4<6.4.06.4.0
GHSA-4cf2-cxp3-rjr7Mavenca.uhn.hapi.fhir:org.hl7.fhir.r4b<6.4.06.4.0
GHSA-4cf2-cxp3-rjr7Mavenca.uhn.hapi.fhir:org.hl7.fhir.r5<6.4.06.4.0
GHSA-4cf2-cxp3-rjr7Mavenca.uhn.hapi.fhir:org.hl7.fhir.utilities<6.4.06.4.0
GHSA-4cf2-cxp3-rjr7Mavenca.uhn.hapi.fhir:org.hl7.fhir.validation<6.4.06.4.0

Red Hat

Red Hat rates this Critical.

Red Hat's statement

Red Hat Build of Apache Camel K provides support for a select group of extensions for Camel Quarkus. As FHIR is not on this list, it is marked as out of support scope. Consult the external references section for the list of supported Camel Quarkus extension.

While Red Hat Fuse 7 includes a vulnerable version of FHIR, the product does not utilize the affected function. This reduces impact of the vulnerability to Low.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

ProductPackageStateAdvisory
Red Hat build of Apache Camel 4.4.4 for Spring Bootorg.hl7.fhir.dstu2Fixed 2024-11-15RHSA-2024:9806
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 4.4 for Quarkus 3.8ca.uhn.hapi.fhir-org.hl7.fhir.utilitiesFixed 2024-11-19RHSA-2024:10035
Red Hat Build of Apache Camel 4.4 for Quarkus 3.8org.hl7.fhir.dstu2Fixed 2024-11-19RHSA-2024:10035
Red Hat Build of Apache Camel 4.4 for Quarkus 3.8org.hl7.fhir.dstu2016mayFixed 2024-11-19RHSA-2024:10035
Red Hat Build of Apache Camel 4.4 for Quarkus 3.8org.hl7.fhir.dstu3Fixed 2024-11-19RHSA-2024:10035
Red Hat build of Apache Camel for Spring Boot 3org.hl7.fhir.dstu2Out of support scope
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.convertorsFix deferred
Red Hat Fuse 7ca.uhn.hapi.fhir-org.hl7.fhir.coreFix deferred
Red Hat Fuse 7ca.uhn.hapi.fhir/org.hl7.fhir.validationFix deferred
Red Hat Fuse 7ca.uhn.hapi.fhir/org.hl7.fhir.validation.cliFix deferred
12 more in the JSON and on Red Hat's page.

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

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