CVE-2021-29492
CVSS V2 High 7.5
CVSS V3 High 8.3
Description
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.
Overview
- CVE ID
- CVE-2021-29492
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2021-05-28T21:15:08
- Last Modified Date
- 2021-12-10T18:10:32
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* | 1 | OR | 1.15.5 | |
cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* | 1 | OR | 1.16.0 | 1.16.4 |
cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* | 1 | OR | 1.17.0 | 1.17.3 |
cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:* | 1 | OR | 1.18.0 | 1.18.3 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- PARTIAL
- Availability Impact
- PARTIAL
- Base Score
- 7.5
- Severity
- HIGH
- Exploitability Score
- 10
- Impact Score
- 6.4
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- CHANGED
- Confidentiality Impact
- LOW
- Availability Impact
- LOW
- Base Score
- 8.3
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.7
References
Reference URL | Reference Tags |
---|---|
https://github.com/envoyproxy/envoy/security/advisories/GHSA-4987-27fx-x6cf | Mitigation Third Party Advisory |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2021-29492 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-29492 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 06:41:46 | Added to TrackCVE | |||
2022-12-05 03:16:13 | 2021-05-28T21:15Z | 2021-05-28T21:15:08 | CVE Published Date | updated |
2022-12-05 03:16:13 | 2021-12-10T18:10:32 | CVE Modified Date | updated | |
2022-12-05 03:16:13 | Analyzed | Vulnerability Status | updated |