Skip to content
OpenAdvisories
Critical · 9.8 CVE-2023-26134 EUVD-2023-1813GHSA-h42j-mrmp-9369

git-commit-info vulnerable to Command Injection

Published Jun 28, 2023 · Updated Nov 27, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— git-commit-info < 2.0.2 2.0.2

Affected packages

EcosystemPackageAffectedFixedRecord
npm git-commit-info < 2.0.2 2.0.2 GHSA-h42j-mrmp-9369

References