Open Redirect Affecting github.com/sourcegraph/sourcegraph/cmd/frontend/auth package, versions <3.15.1
Snyk CVSS
Attack Complexity
High
Threat Intelligence
EPSS
0.12% (47th
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 ID SNYK-GOLANG-GITHUBCOMSOURCEGRAPHSOURCEGRAPHCMDFRONTENDAUTH-567868
- published 30 Apr 2020
- disclosed 30 Apr 2020
- credit Unknown
Introduced: 30 Apr 2020
CVE-2020-12283 Open this link in a new tabHow 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.