Arbitrary Command Injection The advisory has been revoked - it doesn't affect any version of package github.com/sourcegraph/sourcegraph/cmd/gitserver/server  (opens in a new tab)


Threat Intelligence

EPSS
2.83% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMSOURCEGRAPHSOURCEGRAPHCMDGITSERVERSERVER-3145121
  • published23 Nov 2022
  • disclosed23 Nov 2022
  • creditUnknown

Introduced: 23 Nov 2022

CVE-2022-41942  (opens in a new tab)
CWE-77  (opens in a new tab)

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Arbitrary Command Injection via the host parameter on the /list-gitolite endpoint. An attacker can inject commands by sending local requests to the vulnerable endpoint.

References