Vulnerability Details : CVE-2022-24066
The package simple-git before 3.5.0 are vulnerable to Command Injection due to an incomplete fix of [CVE-2022-24433](https://security.snyk.io/vuln/SNYK-JS-SIMPLEGIT-2421199) which only patches against the git fetch attack vector. A similar use of the --upload-pack feature of git is also supported for git clone, which the prior fix didn't cover.
Products affected by CVE-2022-24066
- cpe:2.3:a:simple-git_project:simple-git:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-24066
0.78%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 82 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-24066
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
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
|
NIST | |
8.1
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
2.2
|
5.9
|
Snyk |
CWE ids for CVE-2022-24066
-
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-2022-24066
-
https://gist.github.com/lirantal/a930d902294b833514e821102316426b
Command Injection vulnerability in simple-git@3.4.0 · GitHubExploit;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2434820
Command Injection in org.webjars.npm:simple-git | CVE-2022-24066 | SnykPatch;Third Party Advisory
-
https://github.com/steveukx/git-js/commit/2040de601c894363050fef9f28af367b169a56c5
Prevent use of `--upload-pack` as a command in `git.clone` to avoid p… · steveukx/git-js@2040de6 · GitHubPatch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-2434306
Command Injection in simple-git | CVE-2022-24066 | SnykPatch;Third Party Advisory
Jump to