Improper Authorization Affecting github.com/sourcegraph/sourcegraph/cmd/frontend/graphqlbackend package, versions <3.41.0


0.0
medium
  • Attack Complexity

    Low

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-id

    SNYK-GOLANG-GITHUBCOMSOURCEGRAPHSOURCEGRAPHCMDFRONTENDGRAPHQLBACKEND-2965596

  • published

    2 Aug 2022

  • disclosed

    2 Aug 2022

  • credit

    Unknown

How to fix?

Upgrade github.com/sourcegraph/sourcegraph/cmd/frontend/graphqlbackend to version 3.41.0 or higher.

Overview

github.com/sourcegraph/sourcegraph/cmd/frontend/graphqlbackend is a code search and navigation engine.

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