CVE-2021-32779 in Envoyproxy Envoy
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 o...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, can impact systems beyond the vulnerable component.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Envoyproxy | Envoy | 1.19.0 ≥ 1.16.0, < 1.16.5 ≥ 1.17.0, < 1.17.4 ≥ 1.18.0, < 1.18.4 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2021-32779 |
|---|---|
| BreachSpider ID | BS-2021-GLOBAL-275989-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L |
| Published | 2021-08-24 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-551: CWE-551
CWE-697: CWE-697
CWE-863: Incorrect Authorization
Software performs an authorization check incorrectly, allowing access beyond intended privileges.
Related attack patterns (CAPEC)
CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters via CWE-697
CAPEC-7 Blind SQL Injection via CWE-697
CAPEC-8 Buffer Overflow in an API Call via CWE-697
CAPEC-9 Buffer Overflow in Local Command-Line Utilities via CWE-697
CAPEC-10 Buffer Overflow via Environment Variables via CWE-697
Show all 29
CAPEC-14 Client-side Injection-induced Buffer Overflow via CWE-697
CAPEC-24 Filter Failure through Buffer Overflow via CWE-697
CAPEC-41 Using Meta-characters in E-mail Headers to Inject Malicious Payloads via CWE-697
CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-697
CAPEC-44 Overflow Binary Resource File via CWE-697
CAPEC-45 Buffer Overflow via Symbolic Links via CWE-697
CAPEC-46 Overflow Variables and Tags via CWE-697
CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-697
CAPEC-52 Embedding NULL Bytes via CWE-697
CAPEC-53 Postfix, Null Terminate, and Backslash via CWE-697
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-697
CAPEC-67 String Format Overflow in syslog() via CWE-697
CAPEC-71 Using Unicode Encoding to Bypass Validation Logic via CWE-697
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-697
CAPEC-79 Using Slashes in Alternate Encoding via CWE-697
CAPEC-80 Using UTF-8 Encoding to Bypass Validation Logic via CWE-697
CAPEC-92 Forced Integer Overflow via CWE-697
CAPEC-120 Double Encoding via CWE-697
CAPEC-6 Argument Injection via CWE-697
CAPEC-15 Command Delimiters via CWE-697
CAPEC-73 User-Controlled Filename via CWE-697
CAPEC-88 OS Command Injection via CWE-697
CAPEC-182 Flash Injection via CWE-697
CAPEC-267 Leverage Alternate Encoding via CWE-697
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2021-32779 affects Envoy, an open-source L7 proxy, by incorrectly handling the URI '#fragment' element as part of the path element. This can lead to unauthorized access if Envoy is configured with an RBAC filter or similar mechanism with an explicit case of a final '/admin' path element or using a negative assertion with a final path element.
An attacker can exploit this vulnerability by crafting a specific URI with a '#fragment' element that Envoy incorrectly interprets as part of the path. This can bypass intended access controls, particularly if the RBAC filter is configured to allow or deny access based on the path.
Questions
What is CVE-2021-32779?
CVE-2021-32779 affects Envoy, an open-source L7 proxy, by incorrectly handling the URI '#fragment' element as part of the path element. This can lead to unauthorized access if Envoy is configured with an RBAC filter or similar mechanism with an explicit case of a final '/admin' path element or using a negative assertion with a final path element.
What is the CVSS score for CVE-2021-32779?
CVE-2021-32779 has CVSS 8.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L. EPSS: 1.0%.
Is CVE-2021-32779 actively exploited?
No confirmed active exploitation of CVE-2021-32779 as of 2026-05-30.
How do I remediate CVE-2021-32779?
Priority: HIGH. Advisory: https://www.envoyproxy.io/docs/envoy/v1.19.0/version_history/version_history PSIRT: [email protected]
What systems are affected by CVE-2021-32779?
CVE-2021-32779 affects Envoyproxy Envoy.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Envoyproxy","product":"Envoy","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.