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-2023-30465 Vulnerability in maven package org.apache.inlong:manager-service
CVE-2014-3577 Vulnerability in maven package org.apache.httpcomponents:httpclient
CVE-2021-42340 Vulnerability in maven package org.apache.tomcat:tomcat-websocket
CVE-2023-24057 Vulnerability in maven package ca.uhn.hapi.fhir:org.hl7.fhir.validation
CVE-2021-43841 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore