CVE-2022-41942
CVSS V2 None
CVSS V3 High 7.8
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.
Overview
- CVE ID
- CVE-2022-41942
- Assigner
- security-advisories@github.com
- Vulnerability Status
- Analyzed
- Published Version
- 2022-11-22T19:15:18
- Last Modified Date
- 2022-11-26T03:30:51
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:sourcegraph:sourcegraph:*:*:*:*:*:*:*:* | 1 | OR | 4.1.0 |
CVSS Version 3
- Version
- 3.1
- Vector String
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack Vector
- LOCAL
- Attack Compatibility
- LOW
- Privileges Required
- LOW
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- HIGH
- Base Score
- 7.8
- Base Severity
- HIGH
- Exploitability Score
- 1.8
- Impact Score
- 5.9
References
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2022-41942 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41942 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-11-22 20:00:12 | Added to TrackCVE | |||
2022-12-07 17:59:59 | 2022-11-22T19:15Z | 2022-11-22T19:15:18 | CVE Published Date | updated |
2022-12-07 17:59:59 | 2022-11-26T03:30:51 | CVE Modified Date | updated | |
2022-12-07 17:59:59 | Analyzed | Vulnerability Status | updated | |
2022-12-07 18:00:01 | CPE Information | updated |