The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of CVE-2022-24433 which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover.
{
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24066.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.5.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "2040de601c894363050fef9f28af367b169a56c5"
}
],
"source": "REFERENCES_COMMIT"
}
]
}