Bypass of path matching rules using escaped slash characters
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
Summary
Envoy is a cloud-native edge/middle/service proxy. Envoy does not decode escaped slash sequences `%2F` and `%5C` in HTTP URL paths in versions 1.18.2 and before. A remote attacker may craft a path with escaped slashes, e.g. `/something%2F..%2Fadmin`, to bypass access control, e.g. a block on `/admin`. A backend server could then decode slash sequences and normalize path and provide an attacker access beyond the scope provided for by the access control policy. ### Impact Escalation of Privileges when using RBAC or JWT filters with enforcement based on URL path. Users with back end servers that interpret `%2F` and `/` and `%5C` and `\` interchangeably are impacted. ### Attack Vector URL paths containing escaped slash characters delivered by untrusted client. Patches in versions 1.18.3, 1.17.3, 1.16.4, 1.15.5 contain new path normalization option to decode escaped slash characters. As a workaround, if back end servers treat `%2F` and `/` and `%5C` and `\` interchangeably and a URL path based access control is configured, one may reconfigure the back end server to not treat `%2F` and `/` and `%5C` and `\` interchangeably.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| envoyproxy | envoy | up to 1.18.2 | — | No fix listed | CNA |
- envoy Vendorenvoyproxy Affected up to 1.18.2 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* | before 1.15.5; 1.16.0 to before 1.16.4; 1.17.0 to before 1.17.3; 1.18.0 to before 1.18.3 | Vulnerable | envoyproxy |
- cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* Versions before 1.15.5; 1.16.0 to before 1.16.4; 1.17.0 to before 1.17.3; 1.18.0 to before 1.18.3 Vulnerable ·envoyproxy
Remediation
Red Hat 2 advisories
- RHSA-2021:1538 Released 2021-05-11 · Red Hat rating ImportantRed Hat OpenShift Service Mesh 2.0.4 security update
- OpenShift Service Mesh 2.0 servicemesh-2.0.4-1.el8, servicemesh-istioctl-2.0.4-1.el8, servicemesh-mixc-2.0.4-1.el8 +5
- RHSA-2021:1540 Released 2021-05-11 · Red Hat rating ImportantRed Hat OpenShift Service Mesh 1.1.14 security update
- OpenShift Service Mesh 1.1 servicemesh-1.1.14-1.el8, servicemesh-citadel-1.1.14-1.el8, servicemesh-galley-1.1.14-1.el8 +7
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Service Mesh 1.1 | Fixed | RHSA-2021:1540 |
| OpenShift Service Mesh 2.0 | Fixed | RHSA-2021:1538 |
Not affected: 2 products
- OpenShift Service Mesh 1.1
- OpenShift Service Mesh 2.0
Timeline
- 2026-10-02 Threatist record created from CVE-2021-29492
References
More envoyproxy Envoy vulnerabilities
- TI-2026-79288 Out-of-bounds write in Google Brotli decoder KEVCVSS 4.0CRITICAL 9.2
- TI-2023-23979 The HTTP/2 protocol allows a denial of service (server resource consumption) because… KEVCVSS 3.1HIGH 7.5
- TI-2024-20001 HTTP/2: CPU exhaustion due to CONTINUATION frame flood CVSS 3.1HIGH 7.5
- TI-2024-18524 HTTP/2: memory exhaustion due to CONTINUATION frame flood CVSS 3.1HIGH 7.5
- TI-2023-12215 Envoy client may fake the header `x-envoy-original-path` CVSS 3.1CRITICAL 9.1
- TI-2023-18002 Envoy vulnerable to OAuth2 credentials exploit with permanent validity CVSS 3.1CRITICAL 9.8
Sources
- CVE-2021-29492 · CVE Program
- CVE-2021-29492 · NVD
- FIRST EPSS
- CVE-2021-29492 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences