simple-git up to 3.15.x clone/pull/push/listRemote code injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.8 | $0-$5k | 0.00 |
Summary
A vulnerability was found in simple-git up to 3.15.x and classified as problematic. This issue affects the function clone/pull/push/listRemote. Such manipulation leads to an unknown weakness.
This vulnerability is listed as CVE-2022-25860. The attack may be performed from remote. There is no available exploit.
It is suggested to upgrade the affected component.
Details
A vulnerability was found in simple-git up to 3.15.x (Versioning Software). It has been rated as problematic. Using CWE to declare the problem leads to CWE-94. The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. Impacted is confidentiality, integrity, and availability. CVE summarizes:
Versions of the package simple-git before 3.16.0 are vulnerable to Remote Code Execution (RCE) via the clone(), pull(), push() and listRemote() methods, due to improper input sanitization. This vulnerability exists due to an incomplete fix of [CVE-2022-25912](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3112221).
The weakness was presented 01/27/2023. The advisory is shared for download at github.com. This vulnerability is handled as CVE-2022-25860 since 02/24/2022. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1059.
The vulnerability scanner Nessus provides a plugin with the ID 303488 (TencentOS Server 4: grafana (TSSA-2026:0177)), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 3.16.0 eliminates this vulnerability. Applying the patch ec97a39ab60b89e870c5170121cd9c1603cc1951 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at Tenable (303488). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.8VulDB Meta Temp Score: 7.8
VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 9.8
NVD Vector: 🔍
CNA Base Score: 8.1
CNA Vector (Snyk): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Code injectionCWE: CWE-94 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 303488
Nessus Name: TencentOS Server 4: grafana (TSSA-2026:0177)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: simple-git 3.16.0
Patch: ec97a39ab60b89e870c5170121cd9c1603cc1951
Timeline
02/24/2022 🔍01/27/2023 🔍
01/27/2023 🔍
03/25/2026 🔍
Sources
Advisory: ec97a39ab60b89e870c5170121cd9c1603cc1951Status: Confirmed
CVE: CVE-2022-25860 (🔍)
GCVE (CVE): GCVE-0-2022-25860
GCVE (VulDB): GCVE-100-219608
Entry
Created: 01/27/2023 12:40Updated: 03/25/2026 06:21
Changes: 01/27/2023 12:40 (50), 02/23/2023 14:17 (1), 02/23/2023 14:22 (11), 04/01/2025 23:04 (17), 03/25/2026 06:21 (2)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.