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

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.

CVSS Scores

version 3.1
Expand this section

Snyk

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