Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Open redirect vulnerability

High
nicksnyder published GHSA-mx43-r985-5h4m Apr 30, 2020 · 1 comment

Package

No package listed

Affected versions

<3.16

Patched versions

3.14.4, 3.15.1

Description

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.

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

  • Apr 23, 8 AM PST: GitHub Security Lab reported the issue to Sourcegraph.
  • Apr 23, 11 PM PST: A Sourcegraph engineer proposed a resolution for the vulnerability. https://github.com/sourcegraph/sourcegraph/pull/10167
  • Apr 24, 3 AM PST: The proposed resolution was reviewed, approved, and merged.
  • Apr 28, 2 PM PST: Patch releases for 3.14.4 and 3.15.1 were published.
  • Apr 29, 10 PM PST: Mitre publicly disclosed CVE-2020-12283.
  • Apr 30, 11 AM PST: Sourcegraph issued a GitHub security advisory and notified all affected users.

References

For more information

If you have any questions or comments about this advisory, please contact us at support@sourcegraph.com and include CVE-2020-12283 in the title.

@juliasourceress
Copy link
Contributor

Severity

High

CVE ID

CVE-2020-12283

Weaknesses

No CWEs