Command Injection Affecting ungit package, versions <0.9.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.29% (81st 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 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?

Upgrade ungit to version 0.9.0 or higher.

Overview

ungit is a version control library.

Affected versions of this package are vulnerable to Command Injection 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.

References

CVSS Base Scores

version 3.1