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-24823 Vulnerability in maven package io.netty:netty-codec-http
CVE-2019-10759 Vulnerability in maven package org.webjars.npm:safer-eval
CVE-2021-23518 Vulnerability in npm package cached-path-relative
CVE-2015-8856 Vulnerability in npm package serve-index
CVE-2019-12086 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind