CVE-2021-32053Fhir Hapi Fhir
Medium 5.3 No auth needed
Follow: this CVE · Fhir · Fhir Hapi Fhir We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.6% probability of exploitation in 30 days · percentile 76
- Auth required
- No
- Published
- May 10, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
JPA Server in HAPI FHIR before 5.4.0 allows a user to deny service (e.g., disable access to the database after the attack stops) via history requests. This occurs because of a SELECT COUNT statement that requires a full index scan, with an accompanying large amount of server resources if there are many simultaneous history requests.
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:hapi-fhir-jpaserver-base |
< 5.4.0 |
5.4.0 |
— |
Per OSV / GitHub Advisories (GHSA-67f6-c8mx-4q2m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fhir | hapi_fhir | < 5.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory
- github.com Patch Third Party Advisory
- hapifhir.io Vendor Advisory