cve.bz

CVE-2021-29492 envoyproxy envoy: Path traversal

8.3 highEPSS 63%

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

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

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
63% (unchanged from 63% a week ago; 66% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
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-29492 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-29492?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-29492?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-29492 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:envoybefore 1.15.5
envoyproxy:envoyfrom 1.16.0 before 1.16.4
envoyproxy:envoyfrom 1.17.0 before 1.17.3
envoyproxy:envoyfrom 1.18.0 before 1.18.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Red Hatservice_mesh:1.1::el8servicemesh, servicemesh-mixc, servicemesh-mixs and 7 more0:1.1.14-1.el8RHSA-2021:1540
Red Hatservice_mesh:2.0::el8servicemesh, servicemesh-mixc, servicemesh-mixs and 4 more0:2.0.4-1.el8RHSA-2021:1538
Red Hatservice_mesh:2.0::el8servicemesh-operator0:2.0.4-3.el8RHSA-2021:1538

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.14-1.el8Fixed 2021-05-11RHSA-2021:1540
OpenShift Service Mesh 2.0servicemesh-operator-0:2.0.4-3.el8Fixed 2021-05-11RHSA-2021:1538
OpenShift Service Mesh 2.0servicemesh-proxy-0:2.0.4-1.el8Fixed 2021-05-11RHSA-2021:1538

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-29492.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON