CVE-2021-3190
CRITICAL 9.8CVSS 3.1OS Command Injection in async-git
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.
- Published
- 26 Jan 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-78
- Also known as
- GHSA-6c3f-p5wp-34mh
- Sources
- NVDJSONOSV GHSA-6c3f-p5wp-34mhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | async-git_project | async-gitcpe:2.3:a:async-git_project:async-git:*:*:*:*:*:node.js:*:* |
< 1.13.2 | 1.13.2 |
| OSV | npm | async-git | < 1.13.2 | 1.13.2 |
References
- https://advisory.checkmarx.net/advisory/CX-2021-4772 · Exploit, Third Party Advisory, WEB
- https://github.com/omrilotan/async-git/pull/13 · Third Party Advisory, WEB
- https://github.com/omrilotan/async-git/pull/13/commits/611823bd97dd41e9e8127c38066868ff9dcfa57a · Patch, Third Party Advisory, WEB
- https://github.com/omrilotan/async-git/pull/13/commits/a5f45f58941006c4cc1699609383b533d9b92c6a · Patch, Third Party Advisory, WEB
- https://github.com/omrilotan/async-git/pull/14 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-3190 · ADVISORY
- https://github.com/omrilotan/async-git · PACKAGE
- https://www.npmjs.com/package/async-git · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 26 Jan 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 29 Jan 2021)