CVE-2023-26134
JSON

9.8critical

git-commit-info vulnerable to Command Injection

Severity
9.8critical CVSS:3.1 by snyk
Exploit likelihood
3.64% (higher than 89% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-h42j-mrmp-9369

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

Product or packageVersionsReported by
git-commit-infobefore 2.0.2CVE List
git-commit-info (npm)before 2.0.2GitHub Advisory Database
git-commit-info_project git-commit-infobefore 2.0.2NVD

All scores

snyk9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
GitHub9.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-77CWE-78

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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.

GitHub Advisory Database

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

Sources

SourceRecordLicence
CVE ListCVE-2023-26134 changed 2024-11-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-h42j-mrmp-9369 changed 2024-10-30CC-BY-4.0
NVDCVE-2023-26134 changed 2026-06-17Public domain