{"id":"CVE-2021-39206","aliases":["CVE-2021-39206","GHSA-cfc2-wjcm-c8fm","BIT-ENVOY-2021-39206"],"related":[],"kind":"vulnerability","state":"published","title":"Incorrect Authorization with specially crafted requests","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"Envoy, which Pomerium is based on, contains two authorization related vulnerabilities:\n\n- [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.\n- [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.\n\n### Impact\nWith specially crafted requests, incorrect authorization or routing decisions may be made by Pomerium.\n\n### Patches\n\nPomerium v0.14.8 and v0.15.1 contain an upgraded envoy binary with these vulnerabilities patched.\n\n### Workarounds\n\n- This issue can only be triggered when using path prefix based policy.  Removing any such policies should provide mitigation.\n\n\n### References\n[envoy GSA CVE-2021-32777](https://github.com/envoyproxy/envoy/security/advisories/GHSA-r222-74fw-jqr9)\n[envoy GSA CVE-2021-32779](https://github.com/envoyproxy/envoy/security/advisories/GHSA-6g4j-5vrw-2m8h)\n[envoy announcement](https://groups.google.com/g/envoy-announce/c/5xBpsEZZDfE/m/wD05NZBbAgAJ)\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [pomerium/pomerium](https://github.com/pomerium/pomerium/issues)\n* Email us at [security@pomerium.com](mailto:security@pomerium.com)","format":"markdown","source":"ghsa"},{"lang":"es","text":"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","source":"nvd"}],"published":"2021-09-09T22:10:15.000Z","modified":"2026-09-08T08:47:26.872Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","score":5,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"version":">= 0.11.0, < 0.14.8","status":"affected"},{"version":">= 0.15.0, < 0.15.1","status":"affected"}],"vendor":"pomerium","product":"pomerium","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0.11.0","status":"affected","fixed":"0.14.8"}],"ecosystem":"Go","package":"github.com/pomerium/pomerium","purl":"pkg:golang/github.com/pomerium/pomerium","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.15.0","status":"affected","fixed":"0.15.1"}],"ecosystem":"Go","package":"github.com/pomerium/pomerium","purl":"pkg:golang/github.com/pomerium/pomerium","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.16.5"},{"status":"affected","introduced":"1.17.0","fixed":"1.17.4"},{"status":"affected","introduced":"1.18.0","fixed":"1.18.4"},{"status":"affected","version":"1.19.0"}],"vendor":"envoyproxy","product":"envoy","cpe":"cpe:2.3:a:envoyproxy:envoy:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"0.11.0","fixed":"0.14.8"},{"status":"affected","version":"0.15.0"}],"vendor":"pomerium","product":"pomerium","cpe":"cpe:2.3:a:pomerium:pomerium:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.16.5"},{"type":"semver","introduced":"1.17.0","status":"affected","fixed":"1.17.4"},{"type":"semver","introduced":"1.18.0","status":"affected","fixed":"1.18.4"},{"type":"semver","introduced":"1.19.0","status":"affected","fixed":"1.19.1"}],"ecosystem":"Bitnami","package":"envoy","purl":"pkg:bitnami/envoy","source":"bitnami"}],"references":[{"url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-r222-74fw-jqr9","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/envoyproxy/envoy/security/advisories/GHSA-6g4j-5vrw-2m8h","tags":["advisory","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://groups.google.com/g/envoy-announce/c/5xBpsEZZDfE/m/wD05NZBbAgAJ","tags":["not-applicable","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://github.com/pomerium/pomerium/security/advisories/GHSA-cfc2-wjcm-c8fm","tags":["advisory","third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39206","tags":["advisory","web"],"sources":["ghsa","bitnami"]},{"url":"https://github.com/pomerium/pomerium","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-39206","url":"https://www.cve.org/CVERecord?id=CVE-2021-39206","licence":"CVE Terms of Use","modified":"2024-08-04T01:58:18.262Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cfc2-wjcm-c8fm","url":"https://github.com/advisories/GHSA-cfc2-wjcm-c8fm","licence":"CC-BY-4.0","modified":"2026-02-04T02:38:41.602Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-39206","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39206","licence":"Public domain","modified":"2026-06-17T04:03:18.673Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-ENVOY-2021-39206","url":"https://osv.dev/vulnerability/BIT-ENVOY-2021-39206","licence":"Apache-2.0","modified":"2026-09-08T08:47:26.872Z"}],"updatedAt":"2026-11-25T22:58:03.876Z","epss":{"score":0.01457,"percentile":0.74259,"date":"2026-12-01T12:00:22.000Z"}}