CVE-2021-32053
MEDIUM 5.3CVSS 3.1Uncontrolled Resource Consumption in JPA Server in HAPI FHIR
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.
- Published
- 10 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-67f6-c8mx-4q2m
- Sources
- NVDJSONOSV GHSA-67f6-c8mx-4q2mJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fhir | hapi_fhircpe:2.3:a:fhir:hapi_fhir:*:*:*:*:*:*:*:* |
< 5.4.0 | 5.4.0 |
| OSV | Maven | ca.uhn.hapi.fhir:hapi-fhir-jpaserver-base | < 5.4.0 | 5.4.0 |
References
- https://github.com/hapifhir/hapi-fhir/issues/2641 · Third Party Advisory, WEB
- https://github.com/hapifhir/hapi-fhir/pull/2642 · Patch, Third Party Advisory, WEB
- https://hapifhir.io · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-32053 · ADVISORY
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 10 May 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Jun 2021)