MEDIUM4.3
GHSA-5m6c-jp6f-2vcv
Open Redirect in OAuth2 Proxy
Quick fix
GHSA-5m6c-jp6f-2vcv — github.com/oauth2-proxy/oauth2-proxy: upgrade to the fixed version with the command below.
go get github.com/oauth2-proxy/oauth2-proxy@v6.0.0Details
### Impact As users can provide a redirect address for the proxy to send the authenticated user to at the end of the authentication flow. This is expected to be the original URL that the user was trying to access. This redirect URL is checked within the proxy and validated before redirecting the user to prevent malicious actors providing redirects to potentially harmful sites.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/oauth2-proxy/oauth2-proxy
Introduced in:
5.1.1Fixed in: 6.0.0Fix
go get github.com/oauth2-proxy/oauth2-proxy@v6.0.0References
- https://github.com/oauth2-proxy/oauth2-proxy/security/advisories/GHSA-5m6c-jp6f-2vcv[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2020-4037[ADVISORY]
- https://github.com/oauth2-proxy/oauth2-proxy/commit/ee5662e0f5001d76ec76562bb605abbd07c266a2[WEB]
- https://github.com/oauth2-proxy/oauth2-proxy/releases/tag/v6.0.0[WEB]