Vulnerability Details : CVE-2023-26134
Potential exploit
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.
Products affected by CVE-2023-26134
- cpe:2.3:a:git-commit-info_project:git-commit-info:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-26134
0.22%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 45 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-26134
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
Snyk |
CWE ids for CVE-2023-26134
-
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.Assigned by: nvd@nist.gov (Primary)
References for CVE-2023-26134
-
https://github.com/JPeer264/node-git-commit-info/issues/24
Potential command injection vulnerability in git-commit-info · Issue #24 · JPeer264/node-git-commit-info · GitHubExploit;Issue Tracking
-
https://security.snyk.io/vuln/SNYK-JS-GITCOMMITINFO-5740174
Command Injection in git-commit-info | CVE-2023-26134 | SnykExploit;Third Party Advisory
-
https://github.com/JPeer264/node-git-commit-info/commit/f7c491ede51f886a988af9b266797cb24591d18c
Fix: validate commit hashes before executing them | closes #24 · JPeer264/node-git-commit-info@f7c491e · GitHubPatch
Jump to