{"id":"CVE-2021-32778","aliases":["CVE-2021-32778","BIT-ENVOY-2021-32778","GHSA-3xh3-33v5-chcc"],"related":[],"kind":"vulnerability","state":"published","title":"Excessive CPU utilization when closing HTTP/2 streams","summary":"Envoy is an open source L7 proxy and communication bus designed for large modern service oriented architectures. In affected versions envoy’s procedure for resetting a HTTP/2 stream has O(N^2) complexity, leading to high CPU utilization when a large number of streams are reset. Deployments are susceptible to Denial of Service when Envoy is configured with high limit on H/2 concurrent streams. An attacker wishing to exploit this vulnerability would require a client opening and closing a large number of H/2 streams. Envoy versions 1.19.1, 1.18.4, 1.17.4, 1.16.5 contain fixes to reduce time complexity of resetting HTTP/2 streams. As a workaround users may limit the number of simultaneous HTTP/2 dreams for upstream and downstream peers to a low number, i.e. 100.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Envoy is an open source L7 proxy and communication bus designed for large modern service oriented architectures. In affected versions envoy’s procedure for resetting a HTTP/2 stream has O(N^2) complexity, leading to high CPU utilization when a large number of streams are reset. Deployments are susceptible to Denial of Service when Envoy is configured with high limit on H/2 concurrent streams. An attacker wishing to exploit this vulnerability would require a client opening and closing a large number of H/2 streams. Envoy versions 1.19.1, 1.18.4, 1.17.4, 1.16.5 contain fixes to reduce time complexity of resetting HTTP/2 streams. As a workaround users may limit the number of simultaneous HTTP/2 dreams for upstream and downstream peers to a low number, i.e. 100.","source":"cvelist"},{"lang":"es","text":"Envoy es un proxy L7 de código abierto y un bus de comunicación diseñado para grandes arquitecturas modernas orientadas a servicios. En las versiones afectadas, el procedimiento de Envoy para restablecer un flujo HTTP/2 presenta una complejidad O(N^2), conllevando a un alto uso de la CPU cuando se restablece un gran número de flujos. Los despliegues son susceptibles a una Denegación de Servicio cuando Envoy está configurado con un alto límite de flujos concurrentes H/2. Un atacante que desee explotar esta vulnerabilidad necesitaría un cliente que abriera y cerrara un gran número de flujos H/2. Envoy  versiones 1.19.1, 1.18.4, 1.17.4 y 1.16.5, contienen correcciones para reducir la complejidad del tiempo de restablecimiento de los flujos HTTP/2. Como solución, los usuarios pueden limitar el número de sueños HTTP/2 simultáneos para los pares ascendentes y descendentes a un número bajo, es decir, 100.","source":"nvd"}],"published":"2021-08-24T20:30:11.000Z","modified":"2026-09-08T08:47:26.963Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","score":5.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","score":5.8,"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:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-834"],"affected":[{"ranges":[{"version":">= 1.19.0, < 1.19.1","status":"affected"},{"version":">= 1.18.0, < 1.18.4","status":"affected"},{"version":">= 1.17.0, < 1.17.4","status":"affected"},{"version":">= 1.16.0, < 1.16.5","status":"affected"}],"vendor":"envoyproxy","product":"envoy","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"1.16.0","fixed":"1.16.5"},{"status":"affected","introduced":"1.17.0","fixed":"1.17.4"},{"status":"affected","introduced":"1.18.0","fixed":"1.18.4"},{"status":"affected","version":"1.19.0"}],"vendor":"envoyproxy","product":"envoy","cpe":"cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"1.16.0","status":"affected","fixed":"1.16.5"},{"type":"semver","introduced":"1.17.0","status":"affected","fixed":"1.17.4"},{"type":"semver","introduced":"1.18.0","status":"affected","fixed":"1.18.4"},{"type":"semver","introduced":"1.19.0","status":"affected","fixed":"1.19.1"}],"ecosystem":"Bitnami","package":"envoy","purl":"pkg:bitnami/envoy","source":"bitnami"}],"references":[{"url":"https://www.envoyproxy.io/docs/envoy/v1.19.0/version_history/version_history","tags":["advisory","release-notes","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-3xh3-33v5-chcc","tags":["advisory","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32778","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-32778","url":"https://www.cve.org/CVERecord?id=CVE-2021-32778","licence":"CVE Terms of Use","modified":"2024-08-03T23:33:55.854Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-32778","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32778","licence":"Public domain","modified":"2026-06-17T03:53:36.730Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ENVOY-2021-32778","url":"https://osv.dev/vulnerability/BIT-ENVOY-2021-32778","licence":"Apache-2.0","modified":"2026-09-08T08:47:26.963Z"}],"updatedAt":"2026-11-25T22:58:03.483Z","epss":{"score":0.0124,"percentile":0.69994,"date":"2026-12-01T12:00:22.000Z"}}