CVE-2021-32777
Incorrect concatenation of multiple value request headers in ext-authz extension
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
Envoy is an open source L7 proxy and communication bus designed for large modern service oriented architectures. In affected versions when ext-authz extension is sending request headers to the external authorization service it must merge multiple value headers according to the HTTP spec. However, only the last header value is sent. This may allow specifically crafted requests to bypass authorization. Attackers may be able to escalate privileges when using ext-authz extension or back end service that uses multiple value headers for authorization. A specifically constructed request may be delivered by an untrusted downstream peer in the presence of ext-authz extension. Envoy versions 1.19.1, 1.18.4, 1.17.4, 1.16.5 contain fixes to the ext-authz extension to correctly merge multiple request header values, when sending request for authorization.
Envoy es un proxy L7 de código abierto y un bus de comunicación diseñado para grandes arquitecturas modernas orientadas a servicios. En las versiones afectadas, cuando la extensión ext-authz envía los encabezados de las peticiones al servicio de autorización externo, debe combinar varios encabezados de valores de acuerdo con las especificaciones HTTP. Sin embargo, sólo se envía el último valor del encabezado. Esto puede permitir a peticiones específicamente diseñadas omitir la autorización. Unos atacantes pueden ser capaces de escalar privilegios cuando es usada la extensión ext-authz o el servicio de back-end que usa múltiples valores del encabezado para la autorización. Una petición específicamente construida puede ser entregada por un peer downstream no confiable en presencia de la extensión ext-authz. Envoy versiones 1.19.1, 1.18.4, 1.17.4, 1.16.5, contienen correcciones a la extensión ext-authz para combinar correctamente los valores de los encabezados de peticiones múltiples, cuando se envían peticiones de autorización.
An authorization bypass vulnerability was found in envoyproxy/envoy. Envoy incorrectly evaluates an HTTP request with multiple `value` headers. This flaw allows an attacker to bypass rule policies that use the `ext_authz` extension. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2021-05-12 CVE Reserved
- 2021-08-24 CVE Published
- 2024-05-09 EPSS Updated
- 2024-08-03 CVE Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-551: Incorrect Behavior Order: Authorization Before Parsing and Canonicalization
- CWE-863: Incorrect Authorization
CAPEC
References (4)
URL | Tag | Source |
---|---|---|
https://github.com/envoyproxy/envoy/security/advisories/GHSA-6g4j-5vrw-2m8h | Third Party Advisory |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://www.envoyproxy.io/docs/envoy/v1.19.0/version_history/version_history | 2022-06-15 | |
https://access.redhat.com/security/cve/CVE-2021-32777 | 2021-08-25 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1996933 | 2021-08-25 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Envoyproxy Search vendor "Envoyproxy" | Envoy Search vendor "Envoyproxy" for product "Envoy" | >= 1.16.0 < 1.16.5 Search vendor "Envoyproxy" for product "Envoy" and version " >= 1.16.0 < 1.16.5" | - |
Affected
| ||||||
Envoyproxy Search vendor "Envoyproxy" | Envoy Search vendor "Envoyproxy" for product "Envoy" | >= 1.17.0 < 1.17.4 Search vendor "Envoyproxy" for product "Envoy" and version " >= 1.17.0 < 1.17.4" | - |
Affected
| ||||||
Envoyproxy Search vendor "Envoyproxy" | Envoy Search vendor "Envoyproxy" for product "Envoy" | >= 1.18.0 < 1.18.4 Search vendor "Envoyproxy" for product "Envoy" and version " >= 1.18.0 < 1.18.4" | - |
Affected
| ||||||
Envoyproxy Search vendor "Envoyproxy" | Envoy Search vendor "Envoyproxy" for product "Envoy" | 1.19.0 Search vendor "Envoyproxy" for product "Envoy" and version "1.19.0" | - |
Affected
|