Advisory

GHSA-cfc2-wjcm-c8fm

Also known as: BIT-envoy-2021-39206, CVE-2021-39206

Summary

Incorrect Authorization with specially crafted requests

Details

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-09-10 17:54 UTC
Modified
2026-02-04 02:38 UTC

Affected packages and fixes

github.com/pomerium/pomerium

Go · All systems

Affected

  • introduced 0.11.0, fixed 0.14.8 (semver)

Fixed versions

0.14.8

Fix

github.com/pomerium/pomerium

Go · All systems

Affected

  • introduced 0.15.0, fixed 0.15.1 (semver)

Fixed versions

0.15.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences