npm-programmatic through 0.0.12 is vulnerable to Command Injection.The packages and option properties are concatenated together without any validation and are used by the 'exec' function directly.
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
Link | Tags |
---|---|
https://snyk.io/vuln/SNYK-JS-NPMPROGRAMMATIC-564115 | third party advisory exploit |
https://github.com/Manak/npm-programmatic/blob/master/index.js#L18 | third party advisory patch |