CVE-2020-12283

Summary

CVECVE-2020-12283
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-04-30 05:15:00 UTC
Updated2021-03-04 21:10:00 UTC
DescriptionSourcegraph 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.

Risk And Classification

Problem Types: CWE-601

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Sourcegraph Sourcegraph All All All All
Application Sourcegraph Sourcegraph All All All All

References

ReferenceSourceLinkTags
Comparing v3.15.0...v3.15.1 · sourcegraph/sourcegraph · GitHub MISC github.com Release Notes, Third Party Advisory
auth: ensure the redirect URL always starts with a single slash (#10167) · sourcegraph/sourcegraph@c0f4817 · GitHub MISC github.com Patch, Third Party Advisory
GitHub Security Lab | Securing the world’s software, together MISC securitylab.github.com Exploit, Third Party Advisory
sourcegraph/CHANGELOG.md at main · sourcegraph/sourcegraph · GitHub CONFIRM github.com Release Notes, Third Party Advisory
auth: ensure the redirect URL always starts with a single slash by unknwon · Pull Request #10167 · sourcegraph/sourcegraph · GitHub MISC github.com Patch, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report