8.6
HIGH
CVE-2021-32781
Envoy Decompressor Filter Buffer Overflow Denial of Service
Description

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.

INFO

Published Date :

Aug. 24, 2021, 9:15 p.m.

Last Modified :

July 2, 2022, 6:31 p.m.

Remotely Exploitable :

Yes !

Impact Score :

4.0

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2021-32781 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Envoyproxy envoy
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-32781.

URL Resource
https://github.com/envoyproxy/envoy/security/advisories/GHSA-5vhv-gp9v-42qv Third Party Advisory
https://www.envoyproxy.io/docs/envoy/v1.19.0/version_history/version_history Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-32781 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-32781 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Jul. 02, 2022

    Action Type Old Value New Value
    Removed CWE NIST CWE-119
    Added CWE NIST CWE-120
  • Reanalysis by [email protected]

    Jun. 15, 2022

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* versions from (including) 1.16.0 up to (excluding) 1.16.5 *cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* versions from (including) 1.17.0 up to (excluding) 1.17.4 *cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* versions from (including) 1.18.0 up to (excluding) 1.18.4 *cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* versions from (including) 1.19.0 up to (excluding) 1.91.1 OR *cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* versions from (including) 1.16.0 up to (excluding) 1.16.5 *cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* versions from (including) 1.17.0 up to (excluding) 1.17.4 *cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* versions from (including) 1.18.0 up to (excluding) 1.18.4 *cpe:2.3:a:envoyproxy:envoy:1.19.0:*:*:*:*:*:*:*
  • Initial Analysis by [email protected]

    Aug. 31, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://github.com/envoyproxy/envoy/security/advisories/GHSA-5vhv-gp9v-42qv No Types Assigned https://github.com/envoyproxy/envoy/security/advisories/GHSA-5vhv-gp9v-42qv Third Party Advisory
    Changed Reference Type https://www.envoyproxy.io/docs/envoy/v1.19.0/version_history/version_history No Types Assigned https://www.envoyproxy.io/docs/envoy/v1.19.0/version_history/version_history Vendor Advisory
    Added CWE NIST CWE-119
    Added CPE Configuration OR *cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* versions from (including) 1.16.0 up to (excluding) 1.16.5 *cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* versions from (including) 1.17.0 up to (excluding) 1.17.4 *cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* versions from (including) 1.18.0 up to (excluding) 1.18.4 *cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* versions from (including) 1.19.0 up to (excluding) 1.91.1
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-32781 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.12 }} 0.01%

score

0.45228

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability