CVE-2024-51132fhir hapi_fhir
Critical 9.8 No auth needed
Follow: this CVE · fhir · fhir hapi_fhir We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Nov 5, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-611
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for hapi_fhir.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| 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 |
— |
Per OSV / GitHub Advisories (GHSA-4cf2-cxp3-rjr7). Check the version in your lockfile before upgrading.
Affected products
- fhir · hapi_fhir
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.