Uncontrolled Resource Consumption in JPA Server in HAPI FHIR
Moderate severity
GitHub Reviewed
Published
Jun 16, 2021
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Package
Affected versions
< 5.4.0
Patched versions
5.4.0
Description
Published by the National Vulnerability Database
May 10, 2021
Reviewed
May 19, 2021
Published to the GitHub Advisory Database
Jun 16, 2021
Last updated
Feb 1, 2023
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.
References