Command Injection Affecting create-git package, versions <1.0.0-2


Severity

Recommended
0.0
high
0
10

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

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-CREATEGIT-1022150
  • published27 Oct 2020
  • disclosed26 Oct 2020
  • creditmik317

Introduced: 26 Oct 2020

CVE NOT AVAILABLE CWE-78  (opens in a new tab)

How to fix?

Upgrade create-git to version 1.0.0-2 or higher.

Overview

create-git is a generator to initialize a project with git.

Affected versions of this package are vulnerable to Command Injection. User-provided input was not properly sanitised before being used as part of an exec() call.

References

CVSS Scores

version 3.1