cve.bz

CVE-2021-32781 envoyproxy envoy: Classic Buffer Overflow

7.5 highEPSS 1.3%

High (7.5) in envoyproxy envoy. EPSS 1.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 72nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-32781 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32781?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32781?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-32781 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
envoyproxy:envoyfrom 1.16.0 before 1.16.5
envoyproxy:envoyfrom 1.17.0 before 1.17.4
envoyproxy:envoyfrom 1.18.0 before 1.18.4
envoyproxy:envoy1.19.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatservice_mesh:1.1::el8servicemesh, servicemesh-mixc, servicemesh-mixs and 6 more0:1.1.17-3.el8RHSA-2021:3273
Red Hatservice_mesh:1.1::el8servicemesh-proxy0:1.1.17-2.el8RHSA-2021:3273
Red Hatservice_mesh:2.0::el8servicemesh, servicemesh-mixc, servicemesh-mixs and 4 more0:2.0.7-3.el8RHSA-2021:3272

From the distributions' data via OSV.dev: Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
OpenShift Service Mesh 1.1servicemesh-proxy-0:1.1.17-2.el8Fixed 2021-08-25RHSA-2021:3273
OpenShift Service Mesh 2.0servicemesh-proxy-0:2.0.7-3.el8Fixed 2021-08-25RHSA-2021:3272

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-32781.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON