Skip to content

CVE-2020-12283 Open redirect vulnerability in Sourcegraph

MediumCVSS 6.1 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
sourcegraph github.com/sourcegraph/sourcegraph < 3.15.1 3.15.1 Fixed
sourcegraph github.com/sourcegraph/sourcegraph(Go) < 3.14.4; >= 3.15.0, < 3.15.1 3.14.4, 3.15.1 Fixed

Affected products

ProductAffected versionsFixed in
sourcegraph github.com/sourcegraph/sourcegraph(Go) < 3.14.4 3.14.4
sourcegraph github.com/sourcegraph/sourcegraph(Go) >= 3.15.0, < 3.15.1 3.15.1
sourcegraph github.com/sourcegraph/sourcegraph < 3.15.1 3.15.1

References