Skip to content

CVE-2021-32778 Excessive CPU utilization when closing HTTP/2 streams

HighCVSS 7.5 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
envoyproxy envoy = 1.19.0; = >= 1.16.0, < 1.16.5; = >= 1.17.0, < 1.17.4; = >= 1.18.0, < 1.18.4 +4 more 1.16.5, 1.17.4, 1.18.4 Fixed

Affected products

ProductAffected versionsFixed in
envoyproxy envoy >= 1.16.0, < 1.16.5 1.16.5
envoyproxy envoy >= 1.17.0, < 1.17.4 1.17.4
envoyproxy envoy >= 1.18.0, < 1.18.4 1.18.4
envoyproxy envoy = 1.19.0 No fix listed
envoyproxy envoy = >= 1.19.0, < 1.19.1 No fix listed
envoyproxy envoy = >= 1.18.0, < 1.18.4 No fix listed
envoyproxy envoy = >= 1.17.0, < 1.17.4 No fix listed
envoyproxy envoy = >= 1.16.0, < 1.16.5 No fix listed

References