Versions of the package git-commit-info before 2.0.2 are vulnerable to Command Injection such that the package-exported method gitCommitInfo () fails to sanitize its parameter commit, which later flows into a sensitive command execution API. As a result, attackers may inject malicious commands once they control the hash content.
{
"cna_assigner": "snyk",
"cwe_ids": [
"CWE-78"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26134.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:git-commit-info_project:git-commit-info:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.0.2"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "f7c491ede51f886a988af9b266797cb24591d18c"
}
],
"source": "REFERENCES_COMMIT"
}
]
}