CVE-2021-32778CWE-834

Excessive CPU utilization when closing HTTP/2 streams

Medium · published August 24, 2021

CVSS v3.1
5.8
EPSS
1%
Percentile
68.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.01230 · 68.7th percentile
Weakness
CWE-834 · Excessive Iteration
Published
2021-08-24T20:30Z
EPSS history
Timeline
  • 24 AUG 20:30Z
    Excessive CPU utilization when closing HTTP/2 streams
    cvelistv5