The package git before 1.11.0 are vulnerable to Command Injection via git argument injection. When calling the fetch(remote = 'origin', opts = {}) function, the remote parameter is passed to the git fetch subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.
{
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25648.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.11.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "SplitRange"
},
{
"original_tag": "v1.11.0",
"range": [
{
"fixed": "546bc038ff6604f8304fdeca738c2a7c20cbacc8"
}
],
"source": "REFERENCES_TAG"
},
{
"cpe": "cpe:2.3:a:git:git:*:*:*:*:*:ruby:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.11.0"
}
],
"source": "CPE_RANGE"
}
]
}