GitHub Advisoryadvisory · npm

GHSA-6qpr-9mc5-7gch Command Injection in async-git

CRITICAL Published 2021-04-12 Modified 2023-09-07 Official page ↗
Aliases
CVE-2020-28490
Ecosystem
npm
Packages
async-git
Severity
Critical
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-78
Reviewed
2021-03-18

Affected packages

• npm async-git: < 1.13.2 → fixed in 1.13.2

Description

The package async-git before 1.13.2 are vulnerable to Command Injection via shell meta-characters (back-ticks). For example: `git.reset('atouch HACKEDb')`

Related

Alias · CVE (1)

  • CVE-2020-28490 The package async-git before 1.13.2 are vulnerable to Command Injection via shell meta-characters (back-ticks). vulnerability

Weakness · CWE (1)

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness

References