—
GO-2022-0790
Subdomain checking of whitelisted domains could allow unintended redirects in oauth2-proxy in github.com/oauth2-proxy/oauth2-proxy
Quick fix
GO-2022-0790 — github.com/oauth2-proxy/oauth2-proxy/v7: upgrade to the fixed version with the command below.
go get github.com/oauth2-proxy/oauth2-proxy/v7@v7.0.0Details
Subdomain checking of whitelisted domains could allow unintended redirects in oauth2-proxy in github.com/oauth2-proxy/oauth2-proxy
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/oauth2-proxy/oauth2-proxy
Introduced in:
0No fixed version published yet for github.com/oauth2-proxy/oauth2-proxy (go modules). Pin to a known-safe version or switch to an alternative.
Go/github.com/oauth2-proxy/oauth2-proxy/v7
Introduced in:
0Fixed in: 7.0.0Fix
go get github.com/oauth2-proxy/oauth2-proxy/v7@v7.0.0References
- https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-4mf2-f3wh-gvf2[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2021-21291[ADVISORY]
- https://github.com/oauth2-proxy/oauth2-proxy/commit/780ae4f3c99b579cb2ea9845121caebb6192f725[FIX]
- https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v7.0.0[WEB]
- https://pkg.go.dev/github.com/oauth2-proxy/oauth2-proxy/v7[WEB]