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-2016-0762 Vulnerability in maven package org.apache.tomcat:catalina
CVE-2021-21391 Vulnerability in npm package @ckeditor/ckeditor5-markdown-gfm
CVE-2020-28460 Vulnerability in npm package multi-ini
CVE-2016-6794 Vulnerability in maven package org.apache.tomcat:tomcat-util-scan
CVE-2022-39382 Vulnerability in npm package @keystone-6/core