~ / search / GHSA-h42j-mrmp-9369

GHSA-h42j-mrmp-9369

git-commit-info vulnerable to Command Injection

Source: GitHub Advisory Database (reviewed) High CVE-2023-26134

Packages

EcosystemPackageAffectedFixed in
npm git-commit-info < 2.0.2 2.0.2

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.