Access Restriction Bypass Affecting github.com/sourcegraph/sourcegraph/enterprise/internal/database package, versions <3.42.0


0.0
high
  • Attack Complexity

    Low

  • Integrity

    High

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-GITHUBCOMSOURCEGRAPHSOURCEGRAPHENTERPRISEINTERNALDATABASE-2965578

  • published

    2 Aug 2022

  • disclosed

    22 Jun 2022

  • credit

    Unknown

How to fix?

Upgrade github.com/sourcegraph/sourcegraph/enterprise/internal/database to version 3.42.0 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass due to improper ownership validation in the code monitor. Exploiting this vulnerability makes it possible to modify triggers and actions that the attacker doesn't own.