CVE-2021-21291(oauth2_proxy_project / oauth2_proxy)

LOWCVSS 6.1 · MEDIUM

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD 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.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-601

Priority

LOW

Exploitation

NONE

PoC

YES

Patch

AVAILABLE

Momentum

NONE

Are you affected?

If you run products in this scope, you should treat this CVE as relevant to your environment.

  • oauth2_proxy

Affected systems

Products
oauth2_proxy

Deep dive

Full discourse1 post
  • Shahwar Shah@ShahwarShah_

    Just found this old CVE-2021-21291 and got rewarded $150 + a $50 retest bonus! #bugbounty #bounty #shahwarshah #cybersecurity https://t.co/p6UA4g5gBu

    100470927
    531 followersView on X
CPE platform detail1 entries

1 of 1 entries

PartVendorProductVersionTarget SWTarget HW
Appoauth2_proxy_projectoauth2_proxy---

Explore more