Description
enpeem through 2.2.0 allows execution of arbitrary commands. The "options.dir" argument is provided to the "exec" function without any sanitization.
Remediation
References
https://github.com/balderdashy/enpeem/blob/master/index.js#L114
https://snyk.io/vuln/SNYK-JS-ENPEEM-559007
Related Vulnerabilities
CVE-2021-23663 Vulnerability in npm package sey
CVE-2021-43788 Vulnerability in npm package nodebb
CVE-2020-4051 Vulnerability in maven package org.webjars.bowergithub.dojo:dijit
CVE-2018-20242 Vulnerability in maven package org.apache.jspwiki:jspwiki-war
CVE-2023-32315 Vulnerability in maven package org.igniterealtime.openfire:xmppserver