Lucene search

K
prionPRIOn knowledge basePRION:CVE-2022-29171
HistoryMay 06, 2022 - 12:15 a.m.

Remote code execution

2022-05-0600:15:00
PRIOn knowledge base
www.prio-n.com
2

7.2 High

AI Score

Confidence

High

0.003 Low

EPSS

Percentile

69.5%

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.

CPENameOperatorVersion
sourcegraphlt3.38.0

7.2 High

AI Score

Confidence

High

0.003 Low

EPSS

Percentile

69.5%

Related for PRION:CVE-2022-29171