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-2021-41561 Vulnerability in maven package org.apache.parquet:parquet
CVE-2021-32673 Vulnerability in npm package reg-keygen-git-hash-plugin
CVE-2021-21266 Vulnerability in maven package org.openhab.addons.bundles:org.openhab.binding.gce
CVE-2022-43441 Vulnerability in maven package org.webjars.npm:sqlite3
CVE-2021-26707 Vulnerability in maven package org.webjars.npm:merge-deep