CVE-2020-12283
MEDIUM severity · CVSS 6.1 · CWE-601
6.1CVSS MEDIUM
Summary
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.
Impact & exploitability
Attack vectorNetwork
Attack complexityLow
Privileges requiredNone
User interactionRequired
Confidentiality impactLow
Integrity impactLow
Availability impactNone
Exploit probability (EPSS)1%
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products we track (1)
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Official patch: https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64 ↗
Additional information
- NVD record
- https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64Patch
- https://github.com/sourcegraph/sourcegraph/pull/10167Patch
- https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.mdAdvisory
- https://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1Advisory
- https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraphAdvisory