GHSA-4mf2-f3wh-gvf2 · Severity: low · Ecosystem: go — Subdomain checking of whitelisted domains could allow unintended redirects in oauth2-proxy
OAuth2 Proxy is an open-source reverse proxy and static file server that provides authentication using Providers (Google, GitHub, and others) to validate accounts by email, domain or group. In OAuth2 Proxy before version 7.0.0, for users that use the whitelist domain feature, a domain that ended in a similar way to the intended domain could have been allowed as a redirect. For example, if a whitelist domain was configured for ".example.com", the intention is that subdomains of example.com are allowed. Instead, "example.com" and "badexample.com" could also match. This is fixed in version 7.0.0 onwards. As a workaround, one can disable the whitelist domain feature and run separate OAuth2 Proxy instances for each subdomain.
Conclusion & alert: CVE-2021-21291 is rated Exploit Available (50.2/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.24%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.27% | 0.24% | -0.03% |
| 2 | 2025-11-18 | 0.24% | 0.27% | +0.03% |
| 3 | 2025-07-20 | — | 0.24% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 4.7 | 3.1 | MEDIUM |
|
1.6 | 2.7 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 5.8 | 2.0 | MEDIUM |
|
8.6 | 4.9 | [email protected] |
GHSA-4mf2-f3wh-gvf2 · Severity: low · Ecosystem: go — Subdomain checking of whitelisted domains could allow unintended redirects in oauth2-proxy
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| oauth2_proxy_project | oauth2_proxy | < 7.0.0 | cpe:2.3:a:oauth2_proxy_project:oauth2_proxy:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/oauth2-proxy/oauth2-proxy/commit/780ae4f3c99b579cb2ea9845121caebb6192f725 | Patch Third Party Advisory |
| https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.0.0 | Release Notes Third Party Advisory |
| https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-4mf2-f3wh-gvf2 | Exploit Third Party Advisory |
| https://pkg.go.dev/github.com/oauth2-proxy/oauth2-proxy/v7 | Product Third Party Advisory |