GHSA-h42j-mrmp-9369HighCVSS 9.8

git-commit-info vulnerable to Command Injection

Published
June 28, 2023
Last Modified
October 30, 2024

🔗 CVE IDs covered (1)

📋 Description

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 arguments to the git binary.

🎯 Affected products1

  • npm/git-commit-info:< 2.0.2

🔗 References (6)