RCE in Git-Commit-Info Project
CVE-2023-26134
- CVSS v3
- 9.8 Critical
- Public exploits
- None known
- EPSS
- 0.036 · 89.8th percentile
- Published
- 2023-06-28
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- High
C:H - Integrity
- High
I:H - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.036, 89.8th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Git-Commit-Info Project
- Git-Commit-Info — versions 0
Weakness classification (CWE)
References
- security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174 (Exploit, Third Party Advisory)
- github.com/JPeer264/node-git-commit-info/issues/24 (Exploit, Issue Tracking)
- github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb… (Patch)