ADVISORIES

GitHub Advisory Database

GHSA-67f6-c8mx-4q2m

Uncontrolled Resource Consumption in JPA Server in HAPI FHIR

Moderate CVE-2021-32053

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenca.uhn.hapi.fhir:hapi-fhir-jpaserver-base
All versions before 5.4.0 (fixed in 5.4.0)

References