Remote Code Execution (RCE) Affecting npm-git-publish package, versions *


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 Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-NPMGITPUBLISH-541508
  • published12 Jan 2020
  • disclosed11 Jan 2020
  • creditmik317

Introduced: 11 Jan 2020

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

How to fix?

There is no fixed version for npm-git-publish.

Overview

npm-git-publish is a package for sharing/publishing private packages using Git remotes.

Affected versions of this package are vulnerable to Remote Code Execution (RCE) via an insecure command formatting. It allows to execute arbitrary commands remotely inside the victim's PC. The issue occurs because a user input is formatted inside a command that will be executed without any check.

CVSS Scores

version 3.1