CVE-2022-25860 json
Remote code execution in simple-git
published 2023-01-24 3 y ago modified 2026-06-17 4 mo ago also GHSA-9w5j-4mwv-2wj8 , EUVD-2023-0435
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
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).
Patch / fix
- npm simple-git 3.16.0
- n/a simple-git 3.16.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 19 mo ago
Exploit prediction
2.83% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-3177391 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | simple-git | <3.16.0 |
3.16.0 |
Affected products
- n/a simple-git
Classification
References
-
github.com
/steveukx/git-js/pull/881/commits/95459310e5b8f96e20bb77ef1a6559036b779e13
web, patch, third-party-advisory
-
github.com
/steveukx/git-js/commit/ec97a39ab60b89e870c5170121cd9c1603cc1951
web, patch, third-party-advisory
-
security.snyk.io
/vuln/SNYK-JS-SIMPLEGIT-3177391
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-25860
advisory
Sources
- CVE List CVE-2022-25860
- GitHub Advisory GHSA-9w5j-4mwv-2wj8
- NVD CVE-2022-25860
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.