Packages / simple-git / Security
HighVulnerabilityGHSA-9p95-fxvg-qgq2CVE-2022-25912Published 6 Dec 2022
simple-git vulnerable to Remote Code Execution when enabling the ext transport protocol
Your version
Affected releases · simple-git
- 3.x3.0.1 – 3.14.1Fixed in 3.15.0
- 2.x and older0.0.1 – 2.48.0No fix, no longer updated
On 3.x, the newest line:
npm install simple-git@3.15.0Every release on a timeline
4.x
Not affected
4.0.0 – 4.1.0
4 releases, latest
3.x
Affected
3.0.1 – 3.14.1
22 releases
Fixed
3.15.0 – 3.36.0
30 releases
2.x
Affected
2.0.0 – 2.48.0
63 releases
1.x
Affected
1.0.0 – 1.132.0
139 releases
0.x
Affected
0.0.1 – 0.17.0
20 releases
What happens
The package simple-git before 3.15.0 is vulnerable to Remote Code Execution (RCE) when enabling the ext transport protocol, which makes it exploitable via clone() method. This vulnerability exists due to an incomplete fix of CVE-2022-24066.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.