CVE-2021-39206
JSON

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 packageVersionsReported 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.0CVE List, NVD
github.com/pomerium/pomerium (Go)from 0.11.0 before 0.14.8, from 0.15.0 before 0.15.1GitHub Advisory Database
envoyproxy envoybefore 1.16.5, from 1.17.0 before 1.17.4, from 1.18.0 before 1.18.4, 1.19.0NVD
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.1Bitnami Vulnerability Database

All scores

GitHub_M8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
GitHub8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
NVD8.6high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:N
Bitnami Vulnerability Databasehigh 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 #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:

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

Sources

SourceRecordLicence
CVE ListCVE-2021-39206 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-cfc2-wjcm-c8fm changed 2026-02-04CC-BY-4.0
NVDCVE-2021-39206 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-ENVOY-2021-39206 changed 2026-09-08Apache-2.0