CVE-2021-32781: Envoy is an open source L7 proxy and communication bus designed for large modern service oriented architectures.
High CVSS 7.5
- CVE id
- CVE-2021-32781
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Envoy Runtimes and servers |
>= 1.16.0, < 1.16.5 >= 1.17.0, < 1.17.4 >= 1.18.0, < 1.18.4 |
1.16.5, 1.17.4, 1.18.4 |
How to fix it
Upgrade Envoy to the fixed release of the line you run: 1.16.5, 1.17.4, 1.18.4.
envoy --version
- Upgrade Envoy (the envoyproxy/envoy image tag) to the patched release.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2021-32781 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2021-32781
- Web: https://github.com/envoyproxy/envoy/security/advisories/GHSA-5vhv-gp9v-42qv
- Web: https://www.envoyproxy.io/docs/envoy/v1.19.0/version_history/version_history
- Web: https://github.com/envoyproxy/envoy/security/advisories/GHSA-5vhv-gp9v-42qv
- Web: https://www.envoyproxy.io/docs/envoy/v1.19.0/version_history/version_history
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.