Vulnerability · Published Nov 5, 2024 · Assigned by mitre
CVE-2024-51132
Critical 9.8
In plain English
A critical-severity XML external entity in the ca.uhn.hapi.fhir:org.hl7.fhir.convertors package (Maven). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.9% (higher than 80% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.9%top 20.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | ca.uhn.hapi.fhir:org.hl7.fhir.convertors | 6.4.0 | GHSA-4cf2-cxp3-rjr7 |
| Maven | ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 | 6.4.0 | GHSA-4cf2-cxp3-rjr7 |
| Maven | ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may | 6.4.0 | GHSA-4cf2-cxp3-rjr7 |
| Maven | ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 | 6.4.0 | GHSA-4cf2-cxp3-rjr7 |
| Maven | ca.uhn.hapi.fhir:org.hl7.fhir.r4 | 6.4.0 | GHSA-4cf2-cxp3-rjr7 |
| Maven | ca.uhn.hapi.fhir:org.hl7.fhir.r4b | 6.4.0 | GHSA-4cf2-cxp3-rjr7 |
| Maven | ca.uhn.hapi.fhir:org.hl7.fhir.r5 | 6.4.0 | GHSA-4cf2-cxp3-rjr7 |
| Maven | ca.uhn.hapi.fhir:org.hl7.fhir.utilities | 6.4.0 | GHSA-4cf2-cxp3-rjr7 |
| Maven | ca.uhn.hapi.fhir:org.hl7.fhir.validation | 6.4.0 | GHSA-4cf2-cxp3-rjr7 |
Affected products (as reported)
Weakness: CWE-611 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H