Medium, CVSS 5.3MavenPublished
Uncontrolled Resource Consumption in JPA Server in HAPI FHIR
CVE-2021-32053 · GHSA-67f6-c8mx-4q2m
- Affected
- Maven ca.uhn.hapi.fhir:hapi-fhir-jpaserver-base < 5.4.0
- Fixed in
- 5.4.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 5.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.