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-2022-31018 Vulnerability in maven package com.typesafe.play:play_2.12
CVE-2021-3827 Vulnerability in maven package org.keycloak:keycloak-server-spi-private
CVE-2022-43396 Vulnerability in maven package org.apache.kylin:kylin-core-common
CVE-2021-32702 Vulnerability in npm package nextjs-auth0
CVE-2022-36527 Vulnerability in maven package com.jflyfox:jflyfox_jfinal