Live threats

All CVEs / Fhir

CVE-2021-32053Fhir Hapi Fhir

Medium 5.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Hapi Fhir.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
fhirhapi_fhir< 5.4.0

Official sources

References

Links published by the sources. Open them with care.