{ "id": "CVE-2023-26134", "sourceIdentifier": "report@snyk.io", "published": "2023-06-28T05:15:10.467", "lastModified": "2023-11-07T04:09:25.990", "vulnStatus": "Modified", "descriptions": [ { "lang": "en", "value": "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." } ], "metrics": { "cvssMetricV31": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 3.9, "impactScore": 5.9 }, { "source": "bae035ff-b466-4ff4-94d0-fc9efd9e1730", "type": "Secondary", "cvssData": { "version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH", "baseScore": 9.8, "baseSeverity": "CRITICAL" }, "exploitabilityScore": 3.9, "impactScore": 5.9 } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-77" } ] }, { "source": "bae035ff-b466-4ff4-94d0-fc9efd9e1730", "type": "Secondary", "description": [ { "lang": "en", "value": "CWE-78" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:git-commit-info_project:git-commit-info:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "2.0.2", "matchCriteriaId": "2489C1D5-1EA8-4C4A-A3DB-AA4E8132FF0A" } ] } ] } ], "references": [ { "url": "https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c", "source": "report@snyk.io", "tags": [ "Patch" ] }, { "url": "https://github.com/JPeer264/node-git-commit-info/issues/24", "source": "report@snyk.io", "tags": [ "Exploit", "Issue Tracking" ] }, { "url": "https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174", "source": "report@snyk.io", "tags": [ "Exploit", "Third Party Advisory" ] } ] }