OS Command Injection in Sourcegraph - CVE-2022-41943

 

OS Command Injection in Sourcegraph - CVE-2022-41943

Published: November 22, 2022


Vulnerability identifier: #VU69505
CSH Severity: Low
CVSS v4: 8.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-41943
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote privileged user to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation within the experimental customGitFetch feature . A remote privileged user (site admin) can pass specially crafted data to the application and execute arbitrary OS commands on the Gitserver.



Affected software

Sourcegraph

How to mitigate CVE-2022-41943

Install updates from vendor's website.

Sourcegraph - update to 4.1.0

External References

Related Security Bulletins