CVE-2021-32777
published 2021-08-24CVE-2021-32777: Envoy is an open source L7 proxy and communication bus designed for large modern service oriented architectures. In affected versions when ext-authz extension…
PriorityP350high8.3CVSS 3.1
AVNACLPRNUINSCCLILAL
EPSS
3.33%
87.1th percentile
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.
Affected
11 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| envoyproxy | envoy | < 1.16.5 | 1.16.5 |
| envoyproxy | envoy | — | — |
| envoyproxy | envoy | >= 1.16.0 < 1.16.5 | 1.16.5 |
| envoyproxy | envoy | >= 1.17.0 < 1.17.4 | 1.17.4 |
| envoyproxy | envoy | >= 1.18.0 < 1.18.4 | 1.18.4 |
| github.com | pomerium_pomerium | >= 0.11.0 < 0.14.8 | 0.14.8 |
| github.com | pomerium_pomerium | >= 0.15.0 < 0.15.1 | 0.15.1 |
| pomerium | pomerium | — | — |
| pomerium | pomerium | — | — |
| pomerium | pomerium | — | — |
| pomerium | pomerium | >= 0.11.0 < 0.14.8 | 0.14.8 |
CVSS provenance
nvdv3.18.3HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
nvdv2.07.5HIGHAV:N/AC:L/Au:N/C:P/I:P/A:P
ghsa8.3HIGH
osv8.3HIGH
vendor_redhat8.6HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
Incorrect Authorization with specially crafted requests
osv·2021-09-10·CVSS 8.3
CVE-2021-39206 [HIGH] Incorrect Authorization with specially crafted requests
Incorrect Authorization with specially crafted requests
Envoy, which Pomerium is based on, contains two authorization related vulnerabilities:
- [CVE-2021-32777](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32779): incorrectly transform a URL containing a `#fragment` element, causing a mismatch in path-prefix based authorization decisions.
- [CVE-2021-32779](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32777): incorrectly handle duplicate headers, dropping all but the last. This may lead to incorrect routing or authorization policy decisions.
### Impact
With specially crafted requests, incorrect authorization or routing decisions may be made by Pomerium.
### Patches
Pomerium v0.14.8 and v0.15.1 contain an upgraded envoy binary with these vulnerabilities patched.
GHSA
Incorrect Authorization with specially crafted requests
ghsa·2021-09-10·CVSS 8.3
CVE-2021-39206 [HIGH] CWE-863 Incorrect Authorization with specially crafted requests
Incorrect Authorization with specially crafted requests
Envoy, which Pomerium is based on, contains two authorization related vulnerabilities:
- [CVE-2021-32777](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32779): incorrectly transform a URL containing a `#fragment` element, causing a mismatch in path-prefix based authorization decisions.
- [CVE-2021-32779](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32777): incorrectly handle duplicate headers, dropping all but the last. This may lead to incorrect routing or authorization policy decisions.
### Impact
With specially crafted requests, incorrect authorization or routing decisions may be made by Pomerium.
### Patches
Pomerium v0.14.8 and v0.15.1 contain an upgraded envoy binary with these vulnerabilities patched.
Red Hat
envoyproxy/envoy: HTTP request with multiple value headers can bypass authorization policies
vendor_redhat·2021-08-24·CVSS 8.6
CVE-2021-32777 [HIGH] CWE-863 envoyproxy/envoy: HTTP request with multiple value headers can bypass authorization policies
envoyproxy/envoy: HTTP request with multiple value headers can bypass authorization policies
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,
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/envoyproxy/envoy/security/advisories/GHSA-6g4j-5vrw-2m8hhttps://www.envoyproxy.io/docs/envoy/v1.19.0/version_history/version_historyhttps://github.com/envoyproxy/envoy/security/advisories/GHSA-6g4j-5vrw-2m8hhttps://www.envoyproxy.io/docs/envoy/v1.19.0/version_history/version_history
2021-08-24
Published