CVE-2022-29171

HighCVSS 7.2/10Last modified Jun 17, 2026

Description

Sourcegraph is a fast and featureful code search and navigation engine. Versions before 3.38.0 are vulnerable to Remote Code Execution in the gitserver service. The Gitolite code host integration with Phabricator allows Sourcegraph site admins to specify a `callsignCommand`, which is used to obtain the Phabricator metadata for a Gitolite repository. 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. The attack requires: site-admin privileges on the instance of Sourcegraph, Administrative privileges on the bundled Grafana monitoring instance, Knowledge of the gitserver IP address or DNS name (if running in Kubernetes). This can be found through Grafana. The issue is patched in version 3.38.0. You may disable Gitolite code hosts. We still highly encourage upgrading regardless of workarounds.

Metrics

CVSS 3.1 7.2/10CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
May 6, 2022
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2022

CVE-2022-291726.1Auth0 is an authentication broker that supports both social and enterprise identity providers, including Active Directory, LDAP, Google AppsCVE-2022-291738.8go-tuf is a Go implementation of The Update Framework (TUF). go-tuf does not correctly implement the client workflow for updating the metadaCVE-2022-291748.1countly-server is the server-side part of Countly, a product analytics solution. Prior to versions 22.03.7 and 21.11.4, a malicious actor whCVE-2022-291767.5Rubygems is a package registry used to supply software for the Ruby language ecosystem. Due to a bug in the yank action, it was possible forCVE-2022-291775.9Go Ethereum is the official Golang implementation of the Ethereum protocol. Prior to version 1.10.17, a vulnerable node, if configured to usCVE-2022-291788.2Cilium is open source software for providing and securing network connectivity and loadbalancing between application workloads. Cilium priorCVE-2022-291798.2Cilium is open source software for providing and securing network connectivity and loadbalancing between application workloads. Prior to verCVE-2022-291809.8A vulnerability in which attackers could forge HTTP requests to manipulate the `charm` data directory to access or delete anything on the seCVE-2022-291818.2Nokogiri is an open source XML and HTML library for Ruby. Nokogiri prior to version 1.13.6 does not type-check all inputs into the XML and HCVE-2022-291825.4GoCD is a continuous delivery server. GoCD versions 19.11.0 through 21.4.0 (inclusive) are vulnerable to a Document Object Model (DOM)-basedCVE-2022-291836.1GoCD is a continuous delivery server. GoCD versions 20.2.0 until 21.4.0 are vulnerable to reflected cross-site scripting via abuse of the piCVE-2022-291848.8GoCD is a continuous delivery server. In GoCD versions prior to 22.1.0, it is possible for existing authenticated users who have permissions
CVE-2022-29171: High severity, CVSS 7.2 | Vulnix