NetSight
critical9.8

CVE-2021-3190

OS Command Injection in async-git

Impact

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. This issue may lead to remote code execution if a client of the library calls the vulnerable method with untrusted input. Ensure to sanitize untrusted user input before passing it to one of the vulnerable functions as a workaround or update async-git to version 1.13.1.

Affected packages

EcosystemPackageAffectedFixed in
npmasync-git< 1.13.21.13.2

Affected products

VendorProductAffected versions
Async-Git ProjectAsync-Git
before 1.13.2

Weakness classification

References