cvedb.io
CVE-2022-41942
HIGH · CVSS 7.9
EPSS exploitation probability: 0%
Published 2022-11-22T19:15:18.017 · Last modified 2026-06-17T05:04:06.423

Summary

Sourcegraph is a code intelligence platform. In versions prior to 4.1.0 a command Injection vulnerability existed in the gitserver service, present in all Sourcegraph deployments. This vulnerability was caused by a lack of input validation on the host parameter of the `/list-gitolite` endpoint. It was possible to send a crafted request to gitserver that would execute commands inside the container. Successful exploitation requires the ability to send local requests to gitserver. The issue is patched in version 4.1.0.

Affected products

sourcegraph — sourcegraph

Does this affect you?

Add your gear to cvedb and we'll alert you only when sourcegraph ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.