CVE-2020-12283
MEDIUMCVSS 6.1/10EPSS 1.30%
Last modified
CVE-2020-12283 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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.. EPSS estimates a 1.30% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sourcegraph | Sourcegraph | < 3.15.1 |
References
- https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.mdRelease Notes, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64Patch, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1Release Notes, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/pull/10167Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraphExploit, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/blob/master/CHANGELOG.mdRelease Notes, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/commit/c0f48172e815c7f66471a38f0a06d1fc32a77a64Patch, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/compare/v3.15.0...v3.15.1Release Notes, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/pull/10167Patch, Third Party Advisory
- https://securitylab.github.com/advisories/GHSL-2020-085-sourcegraphExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-12283?
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.
How severe is CVE-2020-12283?
CVE-2020-12283 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 1.30% probability of exploitation in the next 30 days.
How do I fix CVE-2020-12283?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2020-12283?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
