CVE-2021-3190 json
OS Command Injection in async-git
published 2021-01-21 5 y ago modified 2026-06-17 4 mo ago also GHSA-6c3f-p5wp-34mh , EUVD-2021-0493
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.4%
- EPSS 5.4% chance of exploitation in 30 days, percentile 92%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm async-git 1.13.2
- async-git_project async-git 1.13.2
- github.com/omrilotan/async-git#13 commit
- github.com/omrilotan/async-git#13 commit
- github.com/omrilotan/async-git#13 pull request
- github.com/omrilotan/async-git#14 pull request
Exploit prediction
5.39% chance of exploitation in the next 30 days, higher than 92% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- advisory.checkmarx.net https://advisory.checkmarx.net/advisory/CX-2021-4772 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | async-git | <1.13.2 |
1.13.2 |
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/omrilotan/async-git/pull/13
web, third-party-advisory
-
github.com
/omrilotan/async-git/pull/13/commits/a5f45f58941006c4cc1699609383b533d9b92c6a
web, patch, third-party-advisory
-
github.com
/omrilotan/async-git/pull/13/commits/611823bd97dd41e9e8127c38066868ff9dcfa57a
web, patch, third-party-advisory
-
github.com
/omrilotan/async-git/pull/14
web, patch, third-party-advisory
-
advisory.checkmarx.net
/advisory/CX-2021-4772
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-3190
advisory
-
github.com
/omrilotan/async-git
package
-
npmjs.com
/package/async-git
web
Sources
- CVE List CVE-2021-3190
- GitHub Advisory GHSA-6c3f-p5wp-34mh
- NVD CVE-2021-3190
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.