Open Redirect Affecting github.com/oauth2-proxy/oauth2-proxy package, versions >=5.1.1 <6.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (32nd percentile)

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 Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMOAUTH2PROXYOAUTH2PROXY-574792
  • published30 Jun 2020
  • disclosed30 Jun 2020
  • creditUnknown

Introduced: 30 Jun 2020

CVE-2020-4037  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade github.com/oauth2-proxy/oauth2-proxy to version 6.0.0 or higher.

Overview

github.com/oauth2-proxy/oauth2-proxy is a reverse proxy that provides authentication with Google, Github or other providers.

Affected versions of this package are vulnerable to Open Redirect. Users can provide a redirect address for the proxy to send the authenticated user to at the end of the authentication flow. This redirect URL wasn't checked and validated before redirecting the user.

CVSS Scores

version 3.1