CVE-2021-29652: Github.com/pomerium/pomerium Pomerium_signature Is Not Verified Vulnerability
MODERATECVE-2021-29652 is a MODERATE (CVSS 6.1) pomerium_signature is not verified vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Github.com/pomerium/pomerium libraries in the Go ecosystem. The issue involves pomerium_signature is not verified in middleware in github.com/pomerium/pomerium. Remediation is available by upgrading affected packages to version 0.13.4.
CVE-2021-29652 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2021-29652
To remediate this vulnerability, upgrade all affected Github.com/pomerium/pomerium dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/pomerium/pomerium to 0.13.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/pomerium/pomerium
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-29652, inspect your project dependencies for Github.com/pomerium/pomerium:
inspect dependencies for github.com/pomerium/pomerium
Analyze the terminal output to locate any version of Github.com/pomerium/pomerium in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.13.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Github.com/pomerium/pomerium, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2021-29652 Affected Github.com/pomerium/pomerium Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/pomerium/pomerium
|
Go |
≥ 0.10.0
< 0.13.4
|
0.13.4
|
References
Frequently Asked Questions
What is CVE-2021-29652?
Which Github.com/pomerium/pomerium versions are affected?
What version fixes CVE-2021-29652?
Is github.com/pomerium/pomerium affected?
What is the CVSS score of CVE-2021-29652?
What CWE is associated with CVE-2021-29652?
How can I check Go dependencies for CVE-2021-29652?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-fv82-r8qv-ch4v",
"modified" : "2023-10-02T12:10:36Z",
"published" : "2021-05-21T16:24:22Z",
"aliases" : [ "CVE-2021-29652" ],
"summary" : "pomerium_signature is not verified in middleware in github.com/pomerium/pomerium",
"details" : "### Impact\nSome API endpoints under /.pomerium/ do not verify parameters with pomerium_signature. This could allow modifying parameters intended to be trusted to Pomerium. \n\nThe issue mainly affects routes responsible for sign in/out, but does not introduce an authentication bypass.\n\n### Specific Go Packages Affected\ngithub.com/pomerium/pomerium/authenticate\n\n### Patches\nPatched in v0.13.4\n\n### For more information\nIf you have any questions or comments about this advisory\n* Open an issue in [pomerium](http://github.com/pomerium/pomerium)\n* Email us at [security@pomerium.com](mailto:security@pomerium.com)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pomerium/pomerium"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.10.0"
}, {
"fixed" : "0.13.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pomerium/pomerium/security/advisories/GHSA-fv82-r8qv-ch4v"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-29652"
}, {
"type" : "WEB",
"url" : "https://github.com/pomerium/pomerium/pull/2048"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-20T20:47:18Z",
"nvd_published_at" : null
}
}