RCE in Sourcegraph
CVE-2022-23642
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 conf…
Vulnerability class: RCE (Remote Code Execution)
EPSS: 0.743 (99.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Sourcegraph — versions < 3.37
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Patch, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Exploit, VDB Entry, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Exploit, VDB Entry, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2022-23642?
- CVE-2022-23642 is a high-severity vulnerability in Sourcegraph, classified under Code Injection. CVSS score: 8.8/10. Published 2022-02-18.
- How severe is CVE-2022-23642?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2022-23642 known to be exploited?
- 14 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.