{"id":"GHSA-67f6-c8mx-4q2m","summary":"Uncontrolled Resource Consumption in JPA Server in HAPI FHIR","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.","aliases":["CVE-2021-32053"],"modified":"2023-11-01T04:55:23.144025Z","published":"2021-06-16T17:21:11Z","database_specific":{"cwe_ids":["CWE-400"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2021-05-19T19:47:05Z","nvd_published_at":"2021-05-10T21:15:00Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32053"},{"type":"WEB","url":"https://github.com/hapifhir/hapi-fhir/issues/2641"},{"type":"WEB","url":"https://github.com/hapifhir/hapi-fhir/pull/2642"},{"type":"WEB","url":"https://hapifhir.io"}],"affected":[{"package":{"name":"ca.uhn.hapi.fhir:hapi-fhir-jpaserver-base","ecosystem":"Maven","purl":"pkg:maven/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-67f6-c8mx-4q2m/GHSA-67f6-c8mx-4q2m.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}