6.1

CVE-2021-21291: oauth2_proxy_project oauth2_proxy Open Redirect

CVSS: 6.1v3.1MediumModified
AliasesGHSA-4mf2-f3wh-gvf2BIT-oauth2-proxy-2021-21291GO-2022-0790
Published 02-02-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-21291 is a medium (CVSS 6.1) Open Redirect vulnerability in oauth2_proxy_project oauth2_proxy. EPSS estimates a 1.58% chance of exploitation in the next 30 days, higher than 75.1% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (NVD)
EPSS score
1.58%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 02-02-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.58%

Chance of exploitation in the next 30 days

Percentile

75%

Versus all other CVEs

30-day change

0.00 pp

From 1.58% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.58%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Oauth2 Proxy

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Github.com/oauth2-proxy1 product
  • oauth2-proxy≤ 3.2.0 | All versions (No fix recorded)
Github.com/oauth2-proxy/oauth2-proxy1 product
  • v7< 7.0.0
Oauth2_proxy_project1 product
Oauth2-proxy1 product

4 vendors · 4 products

References

5 links