{"id":"CVE-2020-12283","published":"2020-04-30T04:07:29Z","modified":"2024-08-04T11:48:58Z","title":"Sourcegraph before 3.15.1 has a vulnerable authentication workflow because of improper validation in the…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01333,"percentile":0.71827,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/sourcegraph/sourcegraph/pull/10167","tags":["x_refsource_MISC"]},{"url":"https://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1","tags":["x_refsource_MISC"]},{"url":"https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64","tags":["x_refsource_MISC"]},{"url":"https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md","tags":["x_refsource_CONFIRM"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraph","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":14.37}]},"affected":[{"ecosystem":"Go","package":"github.com/sourcegraph/sourcegraph","vulnerableRanges":["<3.14.4",">=3.15.0, <3.15.1"],"patched":["3.14.4","3.15.1"],"from":["GHSA-mx43-r985-5h4m"],"provenance":"source"}],"summary":{"text":"The flaw is an improper validation issue in the SafeRedirectURL method of cmd/frontend/auth/redirect.go in Sourcegraph, affecting versions before 3.15.1. An attacker can exploit the vulnerable authentication workflow by supplying crafted redirect input containing a substring such as //foo//example.com.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:16Z"},"euvd":{"id":"EUVD-2021-2557","exploited":false,"provenance":"source"}}