CVE-2022-24433

HIGH

simple-git <3.3.0 - Command Injection

Title source: llm
STIX 2.1

Description

The package simple-git before 3.3.0 are vulnerable to Command Injection via argument injection. When calling the .fetch(remote, branch, handlerFn) function, both the remote and branch parameters are passed to the git fetch subcommand. By injecting some git options it was possible to get arbitrary command execution.

Scores

CVSS v3 8.1
EPSS 0.0093
EPSS Percentile 76.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-88
Status published
Products (2)
npm/simple-git 0 - 3.3.0npm
simple-git_project/simple-git < 3.3.0
Published Mar 11, 2022
Tracked Since Feb 18, 2026