Command Injection

Affecting ungit package, versions <=0.8.4

Do your applications use this vulnerable package? Test your applications

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

Remediation

Update to the version >=0.9.0

References

CVSS Score

6.5
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    Low
  • Availability
    None
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Credit
CodingTwinky
CVE
CVE-2015-4130
CWE
CWE-77
Snyk ID
npm:ungit:20150122
Disclosed
22 Jan, 2015
Published
22 Jan, 2015