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


0.0
high

Snyk CVSS

    Attack Complexity Low
    Integrity High

    Threat Intelligence

    EPSS 0.05% (18th percentile)
Expand this section
NVD
4.3 medium

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.