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


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (23rd 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 Access Restriction Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMSOURCEGRAPHSOURCEGRAPHENTERPRISEINTERNALDATABASE-2965578
  • published2 Aug 2022
  • disclosed22 Jun 2022
  • creditUnknown

Introduced: 22 Jun 2022

CVE-2022-31154  (opens in a new tab)
CWE-284  (opens in a new tab)

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.

CVSS Base Scores

version 3.1