Open Redirect Affecting github.com/ploxiln/oauth2_proxy package, versions <2.7.1
Snyk CVSS
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMPLOXILNOAUTH2PROXY-590117
- published 24 Jul 2020
- disclosed 24 Jul 2020
- credit ploxiln
How to fix?
Upgrade github.com/ploxiln/oauth2_proxy
to version 2.7.1 or higher.
Overview
github.com/ploxiln/oauth2_proxy is an a reverse proxy and static file server that provides authentication using Providers (Google, GitHub, and others) to validate accounts by email, domain or group.
Affected versions of this package are vulnerable to Open Redirect. 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.