Command Injection Affecting ungit package, versions <=0.8.4


Severity

Recommended
0.0
medium
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 IDnpm:ungit:20150122
  • published22 Jan 2015
  • disclosed22 Jan 2015
  • creditCodingTwinky

Introduced: 22 Jan 2015

CVE-2015-4130  (opens in a new tab)
CWE-77  (opens in a new tab)

How to fix?

Update to the version >=0.9.0

Overview

Due to the use of child_process.exec when executing git commands, ungit allows for commands to be injection from user input fields that end up in an executed git command.

Source: Node Security Project

CVSS Scores

version 3.1