Access Restriction Bypass Affecting github.com/sourcegraph/sourcegraph-public-snapshot/cmd/frontend package, versions <3.33.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.23% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMSOURCEGRAPHSOURCEGRAPHPUBLICSNAPSHOTCMDFRONTEND-10645539
  • published7 Jul 2025
  • disclosed14 Dec 2021
  • creditUnknown

Introduced: 14 Dec 2021

CVE-2021-43823  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

Upgrade github.com/sourcegraph/sourcegraph-public-snapshot/cmd/frontend to version 3.33.2 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. Strings in private source code could be guessed by an authenticated but unauthorized actor. This issue affects the Saved Searches and Code Monitoring features. A successful attack would require an authenticated bad actor to create many Saved Searches or Code Monitors to receive confirmation that a specific string exists. This could allow an attacker to guess formatted tokens in source code, such as API keys.

References

CVSS Base Scores

version 3.1