Description
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.
Remediation
References
https://github.com/Manak/npm-programmatic/blob/master/index.js#L18
https://snyk.io/vuln/SNYK-JS-NPMPROGRAMMATIC-564115
Related Vulnerabilities
CVE-2010-4172 Vulnerability in maven package org.apache.tomcat:catalina
CVE-2021-25945 Vulnerability in npm package js-extend
CVE-2022-29230 Vulnerability in npm package @shopify/hydrogen
CVE-2023-32315 Vulnerability in maven package org.igniterealtime.openfire:xmppserver
CVE-2023-31417 Vulnerability in maven package org.elasticsearch:elasticsearch