simple-git is vulnerable to Remote Code Execution (RCE)
80
CVSS Score
High
Remote Code Execution (RCE)
Affected versions of this package are vulnerable to Remote Code Execution (RCE) via the clone() method due to an incomplete fix for CVE-2022-25860. The vulnerability stems from the unsafe plugin's insufficient detection of the -u (--upload-pack) switch when it is disguised within combined single-character Git clone options. The patch replaces the regex approach with a two-step parser that strips null bytes and leading dashes before validating the remaining token against the set of valid clone short options.
Upgrade the simple-git library to to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.0.1 - 3.32.1
Fixed in 3.32.2simple-git is vulnerable to Remote Code Execution (RCE) in versions 0.0.1 - 3.32.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.