Skip to content
OpenAdvisories
Medium · 6.1 CVE-2020-12283 EUVD-2021-2557GHSA-mx43-r985-5h4m

Open redirect vulnerability in Sourcegraph

Published Apr 30, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/sourcegraph/sourcegraph < 3.14.4 3.14.4 GHSA-mx43-r985-5h4m
Go github.com/sourcegraph/sourcegraph >= 3.15.0, < 3.15.1 3.15.1 GHSA-mx43-r985-5h4m

References