CVE-2021-21291

Source
https://nvd.nist.gov/vuln/detail/CVE-2021-21291
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21291.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-21291
Aliases
Related
Published
2021-02-02T19:15:14Z
Modified
2025-01-15T01:47:11.450061Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/oauth2-proxy/oauth2-proxy

Affected ranges

Type
GIT
Repo
https://github.com/oauth2-proxy/oauth2-proxy
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.1

v1.*

v1.0
v1.1
v1.1.1

v2.*

v2.0
v2.0.1
v2.1
v2.2

v3.*

v3.0.0
v3.1.0
v3.2.0

v4.*

v4.0.0
v4.1.0

v5.*

v5.0.0
v5.1.0

v6.*

v6.0.0
v6.1.0
v6.1.1