Skip to content
Sign in
CVE-2022-236428.8HighCWE-94

CVE-2022-23642: Code Injection in Sourcegraph

sourcegraph

Affected: sourcegraph · Exploitation: likely to be exploited (10% or more)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

74.3%probability of exploitation in the next 30 days
99th percentile
050100

Higher than 99% of scored CVEs

8.8HighCVSS 3.1
LowHigh

DescriptionCVE.org

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.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • sourcegraph · sourcegraph< 3.37

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Likely to be exploited (10% or more). EPSS gives it a 10% or higher chance of exploitation in the next 30 days.
CISA KEV
Not listed
Public check
No public nuclei template
Published
February 2022

CoverageNo articles yet

No CyberSIXT article names CVE-2022-23642 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References

Updated AboutDevelopersSign in