1. Accueil
  2. Vulnérabilités
  3. CVE-2022-23642

CVE-2022-23642

Sourcegraph is a code search and navigation engine. Sourcegraph prior to version 3.37 is vulnerable to remote…

Publiée le 18 févr. 2022 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Élevé 68/100

Résumé

Sourcegraph is a code search and navigation engine. Sourcegraph prior to version 3.37 is vulnerable to remote code execution in the `gitserver` service. The service acts as a git exec proxy, and fails to properly restrict calling `git config`. This allows an attacker to set the git `core.sshCommand` option, which sets git to use the specified command instead of ssh when they need to connect to a remote system. Exploitation of this vulnerability depends on how Sourcegraph is deployed. An attacker able to make HTTP requests to internal services like gitserver is able to exploit it. This issue is patched in Sourcegraph version 3.37. As a workaround, ensure that requests to gitserver are properly protected.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Sourcegraph (1 ligne(s))
Sourcegraph
ProduitVersionsCorrigé dansSource
Sourcegraph avant 3.37 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Chronologie

  1. — Publication de la CVE (cve)
  2. — Preuve de concept publique observée (exploitdb)
  3. — Module d’exploitation public (metasploit) date de première observation

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.1, NVD)
Faiblesse
CWE-862 · Authentification / contrôle d'accès

Comment sont obtenues et calculées ces données