install-package through 0.4.0 is vulnerable to Command Injection. It allows execution of arbitrary commands via the options argument.
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.
Link | Tags |
---|---|
https://github.com/1000ch/install-package/blob/master/index.js#L82%2C | |
https://snyk.io/vuln/SNYK-JS-INSTALLPACKAGE-564267 | third party advisory exploit |