GitHub Advisoryadvisory · Go

GHSA-cfc2-wjcm-c8fm Incorrect Authorization with specially crafted requests

HIGH Published 2021-09-10 Modified 2021-09-10 Official page ↗
Aliases
CVE-2021-39206
Ecosystem
Go
Packages
github.com/pomerium/pomerium
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Weaknesses
CWE-863
Reviewed
2021-09-10

Affected packages

• Go github.com/pomerium/pomerium: >= 0.11.0, < 0.14.8 → fixed in 0.14.8 • Go github.com/pomerium/pomerium: >= 0.15.0, < 0.15.1 → fixed in 0.15.1

Description

Envoy, which Pomerium is based on, contains two authorization related vulnerabilities: • CVE-2021-32777: incorrectly transform a URL containing a `#fragment` element, 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 [email protected]

Related

Alias · CVE (1)

  • CVE-2021-39206 Pomerium is an open source identity-aware access proxy. vulnerability

Weakness · CWE (1)

  • CWE-863 Incorrect Authorization weakness

References