{"id":"CVE-2021-32053","aliases":["EUVD-2021-1274","GHSA-67f6-c8mx-4q2m"],"status":"published","title":"Uncontrolled Resource Consumption in JPA Server in HAPI FHIR","description":"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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01587,"percentile":0.75783,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2021-05-10T20:43:45Z","modified":"2026-10-20T10:54:41Z","fixes":[{"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:hapi-fhir-jpaserver-base","fixed_in":["5.4.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"ca.uhn.hapi.fhir:hapi-fhir-jpaserver-base","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.0"}]}]},{"source":"osv","ecosystem":"Maven","package":"ca.uhn.hapi.fhir:hapi-fhir-jpaserver-base","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.4.0"}]}],"versions":["0.9","1.0","1.1","1.2","1.3","1.4","1.5","1.6","2.0","2.1","2.2","2.3","2.4","2.5","3.0.0","3.1.0","3.2.0","3.3.0","3.4.0","3.5.0","3.6.0","3.7.0","3.8.0","4.0.0","4.0.1","4.0.2","4.0.3","4.1.0","4.2.0","5.0.0","5.0.1","5.0.2","5.1.0","5.2.0","5.2.1","5.3.0","5.3.2","5.3.3"]}],"products":[{"vendor":"fhir","product":"hapi_fhir"}],"references":[{"url":"https://hapifhir.io","tags":["x_refsource_MISC","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://github.com/hapifhir/hapi-fhir/issues/2641","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/hapifhir/hapi-fhir/pull/2642","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32053","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-67f6-c8mx-4q2m"}],"sources":{"cve":[{"id":"CVE-2021-32053","description":"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.","status":"published","published":"2021-05-10T20:43:45Z","modified":"2024-08-03T23:17:28.817Z","updated_at":"2026-11-02T14:33:07.014772Z"}],"euvd":[{"id":"EUVD-2021-1274","description":"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.","status":"published","published":"2021-05-10T20:43:45Z","modified":"2024-08-03T23:17:28Z","updated_at":"2026-11-03T03:24:37.407491Z"}],"ghsa":[{"id":"GHSA-67f6-c8mx-4q2m","title":"Uncontrolled Resource Consumption in JPA Server in HAPI FHIR","description":"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.","status":"published","published":"2021-06-16T17:21:11Z","modified":"2023-02-01T05:05:45Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:36:35.781528Z"}],"nvd":[{"id":"CVE-2021-32053","description":"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.","status":"published","published":"2021-05-10T21:15:07.883Z","modified":"2026-06-17T03:52:43.66Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:06:53.343329Z"}],"osv":[{"id":"CVE-2021-32053","description":"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.","status":"published","published":"2021-05-10T21:15:07.883Z","modified":"2026-10-20T10:54:41.097840184Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:44:19.793849Z"},{"id":"GHSA-67f6-c8mx-4q2m","title":"Uncontrolled Resource Consumption in JPA Server in HAPI FHIR","description":"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.","status":"published","published":"2021-06-16T17:21:11Z","modified":"2023-11-08T04:05:52.696034Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:39.266402Z"}]}}
