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


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

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 SNYK-JS-NPMGITPUBLISH-541508
  • published 12 Jan 2020
  • disclosed 11 Jan 2020
  • credit mik317

Introduced: 11 Jan 2020

CVE NOT AVAILABLE CWE-94 Open this link 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.