CVE-2021-3190
JSON

9.8critical

OS Command Injection in async-git

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
5.39% (higher than 93% of CVEs)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-6c3f-p5wp-34mh

Description

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
async-git (npm)before 1.13.2GitHub Advisory Database
async-git_project async-gitbefore 1.13.2NVD

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

NVD (es)

El paquete async-git versiones anteriores a 1.13.2 para Node.js, permite una Inyección de Comandos del Sistema Operativo por medio de metacaracteres de shell, como es demostrado por git.reset y git.tag

References

Sources

SourceRecordLicence
CVE ListCVE-2021-3190 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-6c3f-p5wp-34mh changed 2023-11-08CC-BY-4.0
NVDCVE-2021-3190 changed 2026-06-17Public domain