Remote Code Execution (RCE)

Affecting npm-git-publish package, ALL versions

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

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.

Remediation

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

References

CVSS Score

6.8
medium severity
  • Attack Vector
    Physical
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.0/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Credit
mik317
CWE
CWE-94
Snyk ID
SNYK-JS-NPMGITPUBLISH-541508
Disclosed
11 Jan, 2020
Published
12 Jan, 2020