8.6high
Incorrect Authorization with specially crafted requests
- Severity
- 8.6high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.46% (higher than 74% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-cfc2-wjcm-c8fmBIT-ENVOY-2021-39206
Description
Pomerium is an open source identity-aware access proxy. Envoy, which Pomerium is based on, contains two authorization related vulnerabilities CVE-2021-32777 and CVE-2021-32779. This may lead to incorrect routing or authorization policy decisions. With specially crafted requests, incorrect authorization or routing decisions may be made by Pomerium. Pomerium v0.14.8 and v0.15.1 contain an upgraded envoy binary with these vulnerabilities patched. This issue can only be triggered when using path prefix based policy. Removing any such policies should provide mitigation.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pomerium pomerium | >= 0.11.0, < 0.14.8, >= 0.15.0, < 0.15.1, from 0.11.0 before 0.14.8, 0.15.0 | CVE List, NVD |
| github.com/pomerium/pomerium (Go) | from 0.11.0 before 0.14.8, from 0.15.0 before 0.15.1 | GitHub Advisory Database |
| envoyproxy envoy | before 1.16.5, from 1.17.0 before 1.17.4, from 1.18.0 before 1.18.4, 1.19.0 | NVD |
| envoy (Bitnami) | before 1.16.5, from 1.17.0 before 1.17.4, from 1.18.0 before 1.18.4, from 1.19.0 before 1.19.1 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| GitHub | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVD | 8.6high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
Pomerium is an open source identity-aware access proxy. Envoy, which Pomerium is based on, contains two authorization related vulnerabilities CVE-2021-32777 and CVE-2021-32779. This may lead to incorrect routing or authorization policy decisions. With specially crafted requests, incorrect authorization or routing decisions may be made by Pomerium. Pomerium v0.14.8 and v0.15.1 contain an upgraded envoy binary with these vulnerabilities patched. This issue can only be triggered when using path prefix based policy. Removing any such policies should provide mitigation.
GitHub Advisory Database
Envoy, which Pomerium is based on, contains two authorization related vulnerabilities:
- CVE-2021-32777: incorrectly transform a URL containing a
#fragmentelement, causing a mismatch in path-prefix based authorization decisions. - CVE-2021-32779: 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.
Workarounds
- This issue can only be triggered when using path prefix based policy. Removing any such policies should provide mitigation.
References
envoy GSA CVE-2021-32777 envoy GSA CVE-2021-32779 envoy announcement
For more information
If you have any questions or comments about this advisory:
- Open an issue in pomerium/pomerium
- Email us at security@pomerium.com
NVD (es)
Pomerium es un proxy de acceso de código abierto consciente de la identidad. Envoy, en el que se basa Pomerium, contiene dos vulnerabilidades relacionadas con la autorización CVE-2021-32777 y CVE-2021-32779. Esto puede conllevar a decisiones incorrectas de enrutamiento o de política de autorización. Con peticiones especialmente diseñadas, Pomerium puede tomar decisiones incorrectas de autorización o enrutamiento. Pomerium versiones v0.14.8 y v0.15.1 contienen un binario envoy actualizado con estas vulnerabilidades parcheadas. Este problema sólo puede desencadenarse cuando se usan políticas basadas en prefijos de ruta. La eliminación de tales políticas debería proporcionar una mitigación
References
| https://github.com/envoyproxy/envoy/security/advisories/GHSA-r222-74fw-jqr9 | advisory, third-party-advisory, web | |
| https://github.com/envoyproxy/envoy/security/advisories/GHSA-6g4j-5vrw-2m8h | advisory, third-party-advisory, web | |
| https://groups.google.com/g/envoy-announce/c/5xBpsEZZDfE/m/wD05NZBbAgAJ | not-applicable, web | |
| https://github.com/pomerium/pomerium/security/advisories/GHSA-cfc2-wjcm-c8fm | advisory, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-39206 | advisory, web | |
| https://github.com/pomerium/pomerium | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-39206 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cfc2-wjcm-c8fm changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2021-39206 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-ENVOY-2021-39206 changed 2026-09-08 | Apache-2.0 |