CVE-2021-32778
envoyproxy/envoy: excessive CPU usage when handling a large number of HTTP/2 requests
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-834
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Bitnami | envoy | >=1.16.0, <1.16.5>=1.17.0, <1.17.4>=1.18.0, <1.18.4>=1.19.0, <1.19.1 | 1.16.51.17.41.18.41.19.1 |
Open a package to see all its vulnerabilities.
Operating systems · 14 fixes
Oracle Linux 2 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | istio +1 | 1.10.4-3.el7 |
| 7 | kubeadm +2 | 1.20.11-4.el7 |
| 7 | olcne-agent +8 | 1.3.2-2.el7 |
| 8 | istio +1 | 1.10.4-3.el8 |
| 8 | kubeadm +2 | 1.20.11-4.el8 |
| 8 | olcne-agent +8 | 1.3.2-2.el8 |
1 more row
Red Hat 1 release · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 8 | servicemesh-proxy | affected | — |
| 8 | servicemesh-ratelimit | 0:2.1.0-1.el8 | RHEA-2021:4051 |
| 8 | servicemesh-proxy +1 | 0:2.1.0-13.el8 | RHEA-2021:4051 |
| 8 | servicemesh-operator | 0:2.1.0-4.el8 | RHEA-2021:4051 |
| 8 | servicemesh +3 | 0:2.1.0-5.el8 | RHEA-2021:4051 |
| 8 | servicemesh-prometheus | 0:2.23.0-1.el8 | RHEA-2021:4051 |
1 more row
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-32778
- github.com https://github.com/envoyproxy/envoy/security/advisories/GHSA-3xh3-33v5-chcc
- istio.io https://istio.io/latest/news/security/istio-security-2021-008/
- linux.oracle.com https://linux.oracle.com/cve/CVE-2021-32778.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2021-9546.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-32778
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-32778
- www.envoyproxy.io https://www.envoyproxy.io/docs/envoy/v1.19.0/version_history/version_history
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.