Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-h42j-mrmp-9369: git-commit-info vulnerable to Command Injection

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.

ghsa
#git

git-commit-info vulnerable to Command Injection

Critical severity GitHub Reviewed Published Jun 28, 2023 to the GitHub Advisory Database • Updated Jun 30, 2023

Related news

CVE-2023-26134: Fix: validate commit hashes before executing them | closes #24 · JPeer264/node-git-commit-info@f7c491e

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.