critical9.8
CVE-2024-51132
HAPI FHIR XML External Entity (XXE) vulnerability
Impact
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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.convertors | < 6.4.0 | 6.4.0 |
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.dstu2 | < 6.4.0 | 6.4.0 |
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.dstu2016may | < 6.4.0 | 6.4.0 |
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.dstu3 | < 6.4.0 | 6.4.0 |
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.r4 | < 6.4.0 | 6.4.0 |
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.r4b | < 6.4.0 | 6.4.0 |
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.r5 | < 6.4.0 | 6.4.0 |
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.utilities | < 6.4.0 | 6.4.0 |
| maven | ca.uhn.hapi.fhir:org.hl7.fhir.validation | < 6.4.0 | 6.4.0 |
Affected products
| Product | Affected versions |
|---|---|
| HAPI FHIR | before 6.4.0 |
Versions were read from the advisory text. No structured product data has been published for this record yet.
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/JAckLosingHeart/CVE-2024-51132-POC
- https://github.com/hapifhir/org.hl7.fhir.core
- https://github.com/advisories/GHSA-4cf2-cxp3-rjr7
- https://nvd.nist.gov/vuln/detail/CVE-2024-51132
- https://github.com/hapifhir/org.hl7.fhir.core/commit/7ede053a5fca50cc2802884c661a241d51703a67