Vulnerabilities · 2020 · Sourcegraph
CVE-2020-12283
Sourcegraph vulnerability
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 products
Sourcegraph. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Sourcegraph runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64 · Patch
- github.com/sourcegraph/sourcegraph/pull/10167 · Patch
- github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md · Third Party Advisory
- github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1 · Third Party Advisory
- securitylab.github.com/advisories/GHSL-2020-085-sourcegraph · Exploit
- nvd.nist.gov/vuln/detail/CVE-2020-12283
- cve.org/CVERecord?id=CVE-2020-12283
More vulnerabilities in Sourcegraph products
CVE-2023-46248CVE-2022-41943CVE-2022-41942CVE-2022-31155CVE-2022-31154CVE-2022-29171CVE-2022-23643CVE-2022-23642All 11
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.