6.1medium
JWT leak via Open Redirect in Programmatic access
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.66% (higher than 52% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-35vc-w93w-75c2GO-2022-0783
Description
Pomerium before 0.13.4 has an Open Redirect (issue 1 of 2).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| github.com/pomerium/pomerium (Go) | before 0.13.4 | GitHub Advisory Database, Go Vulnerability Database |
| pomerium pomerium | before 0.13.4 | NVD |
All scores
| GitHub | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 5.8medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
Classification
What each source says
CVE List
Pomerium before 0.13.4 has an Open Redirect (issue 1 of 2).
GitHub Advisory Database
Impact
Using programmatic access on protected sites, one can get a signed login URL with pomerium_redirect_uri set to an arbitrary URL. Then, if the user has already logged into Pomerium, they will be redirected to the specified pomerium_redirect_uri with a JWT attached. This allows an outside attacker to get a signed login URL that, upon visiting it, will redirect a victim to the attacker’s site. This creates an issue of Open Redirect and, more seriously, JWT leakage.
With a leaked JWT, the attacker will be able to unveil the victim’s identity (.e.g. email address) by supplying the JWT to the authenticate service or verify.pomerium.com. In addition, if an application integrating Pomerium only verifies the iss claim and others but not the aud claim, the attacker will be able to access it as the victim.
Specific Go Packages Affected
github.com/pomerium/pomerium/proxy
Patches
Patched in Pomerium v0.13.4
For more information
If you have any questions or comments about this advisory
- Open an issue in pomerium
- Email us at security@pomerium.com
Go Vulnerability Database
JWT leak via Open Redirect in Programmatic access in github.com/pomerium/pomerium
NVD (es)
Pomerium versiones anteriores a 0.13.4, presenta un redireccionamiento abierto (problema 1 de 2).
References
| https://github.com/pomerium/pomerium/security/advisories/GHSA-35vc-w93w-75c2 | advisory, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-29651 | advisory | |
| https://github.com/pomerium/pomerium/pull/2049 | fix, web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-29651 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-35vc-w93w-75c2 changed 2026-07-08 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0783 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2021-29651 changed 2026-06-17 | Public domain |