Use After Free in Envoyproxy Envoy
CVE-2021-32781
Envoy is an open source L7 proxy and communication bus designed for large modern service oriented architectures. In affected versions after Envoy sends a locally generated response it must stop further processing of request or response data. However when local response is generated due the internal buffer overflow while request or response is processed by the filter chain the operation may not be stopped completely and result in accessing a freed memory block. A specifically constructed request delivered by an untrusted downstream or upstream peer in the presence of extensions that modify and increase the size of request or response bodies resulting in a Denial of Service when using extensions that modify and increase the size of request or response bodies, such as decompressor filter. Envoy versions 1.19.1, 1.18.4, 1.17.4, 1.16.5 contain fixes to address incomplete termination of request processing after locally generated response. As a workaround disable Envoy's decompressor, json-transcoder or grpc-web extensions or proprietary extensions that modify and increase the size of request or response bodies, if feasible.
Vulnerability class: Use-After-Free
EPSS: 0.013 (69.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.6 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H.
Affected products
- Envoyproxy Envoy — versions >= 1.19.0, < 1.19.1, >= 1.16.0, < 1.16.5, >= 1.17.0, < 1.17.4
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_MISC, Vendor Advisory)
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-32781?
- CVE-2021-32781 is a high-severity vulnerability in Envoyproxy Envoy, classified under Use After Free. CVSS score: 8.6/10. Published 2021-08-24.
- How severe is CVE-2021-32781?
- High severity. CVSS v3 base score is 8.6 out of 10.