CVE-2020-12283 Open redirect vulnerability in Sourcegraph
MediumCVSS 6.1
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| sourcegraph github.com/sourcegraph/sourcegraph | < 3.15.1 | 3.15.1 | Fixed |
| sourcegraph github.com/sourcegraph/sourcegraph(Go) | < 3.14.4; >= 3.15.0, < 3.15.1 | 3.14.4, 3.15.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sourcegraph github.com/sourcegraph/sourcegraph(Go) | < 3.14.4 | 3.14.4 |
| sourcegraph github.com/sourcegraph/sourcegraph(Go) | >= 3.15.0, < 3.15.1 | 3.15.1 |
| sourcegraph github.com/sourcegraph/sourcegraph | < 3.15.1 | 3.15.1 |
References
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- github.com release-notes third-party-advisory
- github.com release-notes third-party-advisory
- securitylab.github.com exploit third-party-advisory vendor-advisory
- github.com
- github.com product