Improper Authorization Affecting github.com/sourcegraph/sourcegraph-public-snapshot/cmd/frontend package, versions <3.41.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (20th 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 Learn

Learn about Improper Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSOURCEGRAPHSOURCEGRAPHPUBLICSNAPSHOTCMDFRONTEND-10645537
  • published7 Jul 2025
  • disclosed2 Aug 2022
  • creditUnknown

Introduced: 2 Aug 2022

CVE-2022-31155  (opens in a new tab)
CWE-285  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Improper Authorization in the UpdateSavedSearch() function in saved_searches.go that allows a user to delete (but not read) another user's saved searches.

References

CVSS Base Scores

version 3.1