GHSA-cfc2-wjcm-c8fm

Suggest an improvement
Source
https://github.com/advisories/GHSA-cfc2-wjcm-c8fm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-cfc2-wjcm-c8fm/GHSA-cfc2-wjcm-c8fm.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-cfc2-wjcm-c8fm
Aliases
Published
2021-09-10T17:54:25Z
Modified
2024-05-08T06:59:10.867310Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
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: * Open an issue in pomerium/pomerium * Email us at security@pomerium.com

Database specific
{
    "nvd_published_at": "2021-09-09T23:15:00Z",
    "github_reviewed_at": "2021-09-10T16:40:43Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-863"
    ]
}
References

Affected packages

Go / github.com/pomerium/pomerium

Package

Name
github.com/pomerium/pomerium
View open source insights on deps.dev
Purl
pkg:golang/github.com/pomerium/pomerium

Affected ranges

Type
SEMVER
Events
Introduced
0.11.0
Fixed
0.14.8

Go / github.com/pomerium/pomerium

Package

Name
github.com/pomerium/pomerium
View open source insights on deps.dev
Purl
pkg:golang/github.com/pomerium/pomerium

Affected ranges

Type
SEMVER
Events
Introduced
0.15.0
Fixed
0.15.1

Affected versions

0.*

0.15.0