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-2021-39148 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2017-1000042 Vulnerability in npm package mapbox.js
CVE-2022-29078 Vulnerability in npm package ejs
CVE-2021-43821 Vulnerability in maven package org.opencastproject:opencast-ingest-service-impl
CVE-2022-23945 Vulnerability in maven package org.apache.shenyu:shenyu-common