Skip to content

CVE-2023-26134 git-commit-info vulnerable to Command Injection

CriticalCVSS 9.8 EPSS 3.6%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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 malicious commands once they control the hash content.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
git-commit-info project git-commit-info < 2.0.2 2.0.2 Fixed
npm git-commit-info(npm) < 2.0.2 2.0.2 Fixed

Affected products

ProductAffected versionsFixed in
npm git-commit-info(npm) < 2.0.2 2.0.2
git-commit-info project git-commit-info < 2.0.2 2.0.2

References