Description
This affects all versions of package ffmpegdotjs. If attacker-controlled user input is given to the trimvideo function, it is possible for an attacker to execute arbitrary commands. This is due to use of the child_process exec function without input sanitization.
Remediation
References
https://github.com/TRomesh/ffmpegdotjs/blob/b7395daf0bdcb81218340427eb7073cdd28462af/index.js%23L219
https://snyk.io/vuln/SNYK-JS-FFMPEGDOTJS-1078542
Related Vulnerabilities
CVE-2020-7713 Vulnerability in npm package arr-flatten-unflatten
CVE-2022-23621 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore
CVE-2022-25940 Vulnerability in maven package org.webjars.npm:lite-server
CVE-2019-13234 Vulnerability in maven package org.opencms:opencms-core
CVE-2020-28442 Vulnerability in maven package org.webjars.bower:js-data