Description
pulverizr through 0.7.0 allows execution of arbitrary commands. Within "lib/job.js", the variable "filename" can be controlled by the attacker. This function uses the variable "filename" to construct the argument of the exec call without any sanitization. In order to successfully exploit this vulnerability, an attacker will need to create a new file with the same name as the attack command.
Remediation
References
https://snyk.io/vuln/SNYK-JS-PULVERIZR-560122
Related Vulnerabilities
CVE-2021-23433 Vulnerability in npm package algoliasearch-helper
CVE-2022-24376 Vulnerability in npm package git-promise
CVE-2022-21213 Vulnerability in maven package org.webjars:mout
CVE-2019-9737 Vulnerability in maven package org.webjars.bowergithub.pandao:editor.md
CVE-2016-7103 Vulnerability in maven package org.fujion.webjars:jquery-ui