cve.bz

CVE-2021-32779 envoyproxy envoy: Incorrect Comparison

8.3 highEPSS 1.0%

High (8.3) in envoyproxy envoy. EPSS 1.0% 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 envoy incorrectly handled a URI '#fragment' element as part of the path element. Envoy is configured with an RBAC filter for authorization or similar mechanism with an explicit case of a final "/admin" path element, or is using a negative assertion with final path element of "/admin". The client sends request to "/app1/admin#foo". In Envoy prior to 1.18.0, or 1.18.0+ configured with path_normalization=false. Envoy treats fragment as a suffix of the query string when present, or as a suffix of the path when query string is absent, so it evaluates the final path element as "/admin#foo" and mismatches with the configured "/admin" path element. In Envoy 1.18.0+ configured with path_normalization=true. Envoy transforms this to /app1/admin%23foo and mismatches with the configured /admin prefix. The resulting URI is sent to the next server-agent with the offending "#foo" fragment which violates RFC3986 or with the nonsensical "%23foo" text appended. A specifically constructed request with URI containing '#fragment' element delivered by an untrusted client in the presence of path based request authorization resulting in escalation of Privileges when path based request authorization extensions. Envoy versions 1.19.1, 1.18.4, 1.17.4, 1.16.5 contain fixes that removes fragment from URI path in incoming requests.

Severity

CVSS 3.1

8.3 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
EPSS
1.0% (unchanged from 1.0% a week ago; 0.9% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-697 Incorrect Comparison
CWE-551 Incorrect Behavior Order: Authorization Before Parsing and Canonicalization
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
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-32779 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32779?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32779?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-32779 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-32779.

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-697 (29).

References

Check your stackJSON