Open Redirect Affecting github.com/sourcegraph/sourcegraph/cmd/frontend/auth package, versions <3.15.1


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.17% (55th 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-GITHUBCOMSOURCEGRAPHSOURCEGRAPHCMDFRONTENDAUTH-567868
  • published30 Apr 2020
  • disclosed30 Apr 2020
  • creditUnknown

Introduced: 30 Apr 2020

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

How to fix?

Upgrade github.com/sourcegraph/sourcegraph/cmd/frontend/auth to version 3.15.1 or higher.

Overview

github.com/sourcegraph/sourcegraph/cmd/frontend/auth is an auth package for sourcegraph frontend.

Affected versions of this package are vulnerable to Open Redirect. The SourceGraph application has a vulnerable authentication workflow because of improper validation in the SafeRedirectURL method in cmd/frontend/auth/redirect.go, such as for the //foo//example.com substring.

CVSS Scores

version 3.1