Description
install-package through 0.4.0 is vulnerable to Command Injection. It allows execution of arbitrary commands via the options argument.
Remediation
References
https://github.com/1000ch/install-package/blob/master/index.js#L82%2C
https://snyk.io/vuln/SNYK-JS-INSTALLPACKAGE-564267
Related Vulnerabilities
CVE-2020-28494 Vulnerability in npm package total.js
CVE-2021-21391 Vulnerability in npm package @ckeditor/ckeditor5-widget
CVE-2021-46708 Vulnerability in maven package com.microfocus.webjars:swagger-ui-dist
CVE-2018-16485 Vulnerability in npm package m-server
CVE-2023-33246 Vulnerability in maven package org.apache.rocketmq:rocketmq-namesrv