CVEvulnerability
CVE-2020-12283
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2020-04-30
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CVSS 2.0 ([email protected])
- 5.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:N
- Weaknesses
- CWE-601
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 configurations
• sourcegraph sourcegraph (< 3.15.1)
Related
Weakness · CWE (1)
- CWE-601 URL Redirection to Untrusted Site weakness
References
- https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md Release Notes, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64 Patch, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1 Release Notes, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/pull/10167 Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraph Exploit, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.md Release Notes, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64 Patch, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1 Release Notes, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/pull/10167 Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraph Exploit, Third Party Advisory