Arbitrary Code Execution The advisory has been revoked - it doesn't affect any version of package github.com/sourcegraph/sourcegraph/enterprise/internal/database  (opens in a new tab)


Threat Intelligence

EPSS
1.35% (71st 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 IDSNYK-GOLANG-GITHUBCOMSOURCEGRAPHSOURCEGRAPHENTERPRISEINTERNALDATABASE-2808878
  • published6 May 2022
  • disclosed6 May 2022
  • creditUnknown

Introduced: 6 May 2022

CVE-2022-29171  (opens in a new tab)
CWE-94  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution in the gitserver service. An administrator who is able to edit or add a Gitolite code host and has administrative access to Sourcegraph’s bundled Grafana instance can change this command arbitrarily and run it remotely. This grants direct access to the infrastructure underlying the Sourcegraph installation.

References