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 package | Versions | Reported by |
|---|---|---|
| git-commit-info | before 2.0.2 | CVE List |
| git-commit-info (npm) | before 2.0.2 | GitHub Advisory Database |
| git-commit-info_project git-commit-info | before 2.0.2 | NVD |
All scores
| snyk | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| GitHub | 9.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | high CVSS:4.0 | CVSS: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 |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-26134 changed 2024-11-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-h42j-mrmp-9369 changed 2024-10-30 | CC-BY-4.0 |
| NVD | CVE-2023-26134 changed 2026-06-17 | Public domain |