0.0
low
  • Attack Complexity

    High

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

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.