Remote Code Execution (RCE) Affecting npm-git-publish package, versions *
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
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