CVE-2022-41942
Last modified
CVE-2022-41942 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 1.52% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sourcegraph | Sourcegraph | < 4.1.0 |
References
- https://github.com/sourcegraph/sourcegraph/pull/42553Patch, Third Party Advisory
- https://github.com/sourcegraph/sourcegraph/pull/42553Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-41942?
How severe is CVE-2022-41942?
How do I fix CVE-2022-41942?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-41937XWiki Platform is a generic wiki platform offering runtime s…8.1
- CVE-2022-41938Flarum is an open source discussion platform. Flarum's page …5.4
- CVE-2022-41939knative.dev/func is is a client library and CLI enabling the…7.4
- CVE-2022-4194Use after free in Accessibility in Google Chrome prior to 10…8.8
- CVE-2022-41940Engine.IO is the implementation of transport-based cross-bro…6.5
- CVE-2022-41941GLPI is a Free Asset and IT Management Software package. Ver…4.8
- CVE-2022-41943sourcegraph is a code intelligence platform. As a site admin…7.2
- CVE-2022-41944Discourse is an open-source discussion platform. In stable v…4.3
- CVE-2022-41945super-xray is a vulnerability scanner (xray) GUI launcher. I…9.8
- CVE-2022-41946pgjdbc is an open source postgresql JDBC Driver. In affected…5.5
- CVE-2022-41947DHIS 2 is an open source information system for data capture…5.4
- CVE-2022-41948DHIS 2 is an open source information system for data capture…7.2
Are you affected by CVE-2022-41942?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
