npm-git-publish@0.2.4-beta vulnerabilities

Dev tool to publish an NPM package to a remote Git repository, instead of a registry or CDN of tarballs

Direct Vulnerabilities

Known vulnerabilities in the npm-git-publish package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Remote Code Execution (RCE)

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.

How to fix Remote Code Execution (RCE)?

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

*