Command Injection Affecting async-git package, versions <1.13.2


Severity

Recommended
0.0
critical
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.49% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-ASYNCGIT-1064877
  • published26 Jan 2021
  • disclosed26 Jan 2021
  • creditOmri Lotan, Adar-Checkmarx

Introduced: 26 Jan 2021

CVE-2020-28490  (opens in a new tab)
CWE-78  (opens in a new tab)
First added by Snyk

How to fix?

Upgrade async-git to version 1.13.2 or higher.

Overview

async-git is a 👾 Retrieve data from current git repository

Affected versions of this package are vulnerable to Command Injection via shell meta-characters (back-ticks). For example: git.reset('atouch HACKEDb')

CVSS Scores

version 3.1