Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW14NDMtcjk4NS01aDRt

Open redirect vulnerability in Sourcegraph

Impact

An open redirect vulnerability that allows users to be targeted for phishing attacks has been found in Sourcegraph instances configured with OAuth, OpenID, or SAML authentication enabled. Users targeted by these phishing attacks could have their authentication tokens silently harvested by an attacker.

Specific Go Packages Affected

github.com/sourcegraph/sourcegraph/cmd/frontend/auth

Resolution

Sourcegraph v3.14.4 and v3.15.1 have been released which resolve the vulnerability. (associated change)

Workarounds

Disabling OAuth, OpenID and/or SAML sign-in options until upgraded to the patched versions will secure Sourcegraph / workaround the issue.

Timeline

References

For more information

If you have any questions or comments about this advisory, please contact us at [email protected] and include CVE-2020-12283 in the title.

Permalink: https://github.com/advisories/GHSA-mx43-r985-5h4m
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW14NDMtcjk4NS01aDRt
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 2 years ago
Updated: 8 months ago


CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Identifiers: GHSA-mx43-r985-5h4m, CVE-2020-12283
References: Repository: https://github.com/sourcegraph/sourcegraph
Blast Radius: 0.0

Affected Packages

go:github.com/sourcegraph/sourcegraph
Dependent packages: 0
Dependent repositories: 1
Downloads:
Affected Version Ranges: >= 3.15.0, < 3.15.1, < 3.14.4
Fixed in: 3.15.1, 3.14.4
All affected versions: 0.0.0, 2.0.0, 2.0.1, 2.0.2, 2.3.7, 2.3.8, 2.4.1, 2.4.2, 2.5.14, 2.5.15, 2.5.17, 2.6.0, 2.6.1, 2.6.7, 2.6.8, 2.7.6, 2.8.0, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.9.4, 2.10.0, 2.10.1, 2.10.2, 2.10.3, 2.10.4, 2.10.5, 2.11.0, 2.11.1, 2.11.2, 2.11.3, 3.0.2
All unaffected versions: