{"id":"CVE-2021-32778","published":"2021-08-24T20:30:11Z","modified":"2024-08-03T23:33:55Z","title":"Excessive CPU utilization when closing HTTP/2 streams","vendor":"envoyproxy","product":"envoy","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0124,"percentile":0.69912,"provenance":"source"},"cwes":[{"id":"CWE-834","name":"Excessive Iteration"}],"references":[{"url":"https://www.envoyproxy.io/docs/envoy/v1.19.0/version_history/version_history","tags":["x_refsource_MISC"]},{"url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-3xh3-33v5-chcc","tags":["x_refsource_CONFIRM"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":13.98},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"envoyproxy","affectedVersions":[{"vendor":"envoyproxy","product":"envoy","versions":[">= 1.19.0, < 1.19.1",">= 1.18.0, < 1.18.4",">= 1.17.0, < 1.17.4",">= 1.16.0, < 1.16.5"]}],"euvd":{"id":"EUVD-2021-19542","exploited":false,"provenance":"source"}}