CVE-2020-12283

Medium

Description

Sourcegraph before 3.15.1 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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductSourcegraph
PublishedApr 30, 2020
First seenApr 30, 2020

How to fix

Update
  • sourcegraph sourcegraph3.15.1 or later
  • github.com/sourcegraph/sourcegraph3.14.4, 3.15.1 or later

Affected products

ProductAffected versionsFixed in
sourcegraph sourcegraphv < 3.15.13.15.1
github.com/sourcegraph/sourcegraphGov < 3.14.4, 3.15.0 ≤ v < 3.15.13.14.4, 3.15.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.