Command Injection Affecting ungit package, versions <=0.8.4


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

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 ID npm:ungit:20150122
  • published 22 Jan 2015
  • disclosed 22 Jan 2015
  • credit CodingTwinky

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
Expand this section

Snyk

6.5 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    None