Vulnerability Details : CVE-2021-3190
Potential exploit
The async-git package before 1.13.2 for Node.js allows OS Command Injection via shell metacharacters, as demonstrated by git.reset and git.tag.
Products affected by CVE-2021-3190
- cpe:2.3:a:async-git_project:async-git:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-3190
3.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 85 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-3190
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 |
CWE ids for CVE-2021-3190
-
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-3190
-
https://github.com/omrilotan/async-git/pull/14
Use spawn with git to avoid shell script vulnerabilities by omrilotan · Pull Request #14 · omrilotan/async-git · GitHubPatch;Third Party Advisory
-
https://advisory.checkmarx.net/advisory/CX-2021-4772
Checkmarx Advisory | CX-2021-4772 / Command injection vulnerability in async-gitExploit;Third Party Advisory
-
https://github.com/omrilotan/async-git/pull/13
Add test for reported vulnerabilities by omrilotan · Pull Request #13 · omrilotan/async-git · GitHubThird Party Advisory
-
https://github.com/omrilotan/async-git/pull/13/commits/611823bd97dd41e9e8127c38066868ff9dcfa57a
Add test for reported vulnerabilities by omrilotan · Pull Request #13 · omrilotan/async-git · GitHubPatch;Third Party Advisory
-
https://github.com/omrilotan/async-git/pull/13/commits/a5f45f58941006c4cc1699609383b533d9b92c6a
Add test for reported vulnerabilities by omrilotan · Pull Request #13 · omrilotan/async-git · GitHubPatch;Third Party Advisory
Jump to