CVE-2022-29171
Last modified
CVE-2022-29171 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. 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. EPSS estimates a 1.21% chance of exploitation in the next 30 days.
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/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sourcegraph | Sourcegraph | < 3.38.0 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-29171?
How severe is CVE-2022-29171?
How do I fix CVE-2022-29171?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-29165Argo CD is a declarative, GitOps continuous delivery tool fo…10
- CVE-2022-29166matrix-appservice-irc is a Node.js IRC bridge for Matrix. Th…8.8
- CVE-2022-29167Hawk is an HTTP authentication scheme providing mechanisms f…7.5
- CVE-2022-29168Wire is a secure messaging application. Wire is vulnerable t…6.1
- CVE-2022-29169BigBlueButton is an open source web conferencing system. Ver…7.5
- CVE-2022-29170Grafana is an open-source platform for monitoring and observ…8.5
- CVE-2022-29172Auth0 is an authentication broker that supports both social …6.1
- CVE-2022-29173go-tuf is a Go implementation of The Update Framework (TUF).…8.8
- CVE-2022-29174countly-server is the server-side part of Countly, a product…8.1
- CVE-2022-29175Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2022-29176Rubygems is a package registry used to supply software for t…7.5
- CVE-2022-29177Go Ethereum is the official Golang implementation of the Eth…5.9
Are you affected by CVE-2022-29171?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
