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-2020-28271 Vulnerability in npm package deephas
CVE-2023-25826 Vulnerability in maven package net.opentsdb:opentsdb
CVE-2022-42920 Vulnerability in maven package org.apache.bcel:bcel
CVE-2023-1584 Vulnerability in maven package io.quarkus:quarkus-oidc
CVE-2021-25924 Vulnerability in maven package cd.go.plugin:go-plugin-api