{"id":"CVE-2021-32053","aliases":["CVE-2021-32053","GHSA-67f6-c8mx-4q2m"],"related":[],"kind":"vulnerability","state":"published","title":"Uncontrolled Resource Consumption in JPA Server in HAPI FHIR","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El servidor JPA en HAPI FHIR versiones anteriores a 5.4.0, permite a un usuario denegar el servicio (por ejemplo, deshabilitar el acceso a la base de datos después de que se detiene el ataque) por medio de peticiones de historial. Esto ocurre debido a una instrucción SELECT COUNT que requiere un escaneo de índice completo, acompañado de una gran cantidad de recursos del servidor si se presentan muchas peticiones de historial simultáneas","source":"nvd"}],"published":"2021-05-10T20:43:45.000Z","modified":"2026-06-17T03:52:43.660Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"5.4.0"}],"ecosystem":"Maven","package":"ca.uhn.hapi.fhir:hapi-fhir-jpaserver-base","purl":"pkg:maven/ca.uhn.hapi.fhir/hapi-fhir-jpaserver-base","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"5.4.0"}],"vendor":"fhir","product":"hapi_fhir","cpe":"cpe:2.3:a:fhir:hapi_fhir:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://hapifhir.io","tags":["vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/hapifhir/hapi-fhir/issues/2641","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/hapifhir/hapi-fhir/pull/2642","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32053","tags":["advisory"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32053","url":"https://www.cve.org/CVERecord?id=CVE-2021-32053","licence":"CVE Terms of Use","modified":"2024-08-03T23:17:28.817Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-67f6-c8mx-4q2m","url":"https://github.com/advisories/GHSA-67f6-c8mx-4q2m","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:52.696Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32053","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32053","licence":"Public domain","modified":"2026-06-17T03:52:43.660Z"}],"updatedAt":"2026-11-25T22:58:01.264Z","epss":{"score":0.01587,"percentile":0.76327,"date":"2026-12-01T12:00:22.000Z"}}