🛡️ CVE-2022-41942
🟠 CVSS 7.9 — High ✅ No Known Exploit CWE-20 NVD
7.9
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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.

Details

Severity HIGH
CVSS Score 7.9
CVSS Vector CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L
CWE CWE-20
Public Exploit ✅ No
Source NVD
Published 2022-11-22
Updated 2026-06-08
Modified 2024-11-21

Affected Packages

Software From version Fixed in
sourcegraph 4.1.0

Similar Threats

Free Vulnerability Check

Is your WordPress site affected?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.