{"id":"CVE-2021-29492","aliases":["CVE-2021-29492","BIT-ENVOY-2021-29492","GHSA-4987-27fx-x6cf"],"related":[],"kind":"vulnerability","state":"published","title":"Bypass of path matching rules using escaped slash characters","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Envoy es un proxy de borde/medio/servicio nativo de la nube. Envoy no descifra las secuencias de barras diagonales escapadas `%2F` y `%5C` en las rutas URL HTTP en las versiones 1.18.2 y anteriores. Un atacante remoto puede crear una ruta con barras escapadas, por ejemplo `algo%2F..%2Fadmin`, para saltarse el control de acceso, por ejemplo, un bloqueo en `/admin`. Un servidor backend podría entonces decodificar las secuencias de barras y normalizar la ruta y proporcionar a un atacante acceso más allá del alcance previsto por la política de control de acceso. ### Impacto Escalada de Privilegios cuando se utilizan filtros RBAC o JWT con aplicación basada en la ruta de la URL. Los usuarios con servidores de back-end que interpretan `%2F` y `/` y `%5C` y `\\` indistintamente están impactados. ### Vector de ataque Rutas de URL que contienen caracteres de barra diagonal escapados entregados por un cliente que no es de confianza. Los parches de las versiones 1.18.3, 1.17.3, 1.16.4 y 1.15.5 contienen una nueva opción de normalización de rutas para descodificar los caracteres de barra diagonal escapados. Como solución, si los servidores finales tratan `%2F` y `/` y `%5C` y `\\` indistintamente y se configura un control de acceso basado en la ruta de la URL, se puede reconfigurar el servidor final para que no trate `%2F` y `/` y `%5C` y `\\` indistintamente","source":"nvd"}],"published":"2021-05-28T21:00:24.000Z","modified":"2026-09-08T08:47:22.070Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L","score":8.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"<= 1.18.2","status":"affected"}],"vendor":"envoyproxy","product":"envoy","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"1.15.5"},{"status":"affected","introduced":"1.16.0","fixed":"1.16.4"},{"status":"affected","introduced":"1.17.0","fixed":"1.17.3"},{"status":"affected","introduced":"1.18.0","fixed":"1.18.3"}],"vendor":"envoyproxy","product":"envoy","cpe":"cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.15.5"},{"type":"semver","introduced":"1.16.0","status":"affected","fixed":"1.16.4"},{"type":"semver","introduced":"1.17.0","status":"affected","fixed":"1.17.3"},{"type":"semver","introduced":"1.18.0","status":"affected","fixed":"1.18.3"}],"ecosystem":"Bitnami","package":"envoy","purl":"pkg:bitnami/envoy","source":"bitnami"}],"references":[{"url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-4987-27fx-x6cf","tags":["advisory","mitigation","third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29492","tags":["web"],"sources":["bitnami"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-29492","url":"https://www.cve.org/CVERecord?id=CVE-2021-29492","licence":"CVE Terms of Use","modified":"2024-08-03T22:11:05.253Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-29492","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29492","licence":"Public domain","modified":"2026-06-17T03:47:45.130Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ENVOY-2021-29492","url":"https://osv.dev/vulnerability/BIT-ENVOY-2021-29492","licence":"Apache-2.0","modified":"2026-09-08T08:47:22.070Z"}],"updatedAt":"2026-11-25T22:58:01.587Z","epss":{"score":0.63096,"percentile":0.99217,"date":"2026-12-01T12:00:22.000Z"}}