Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsA fix was pushed into the master branch but not yet published.
extra-ffmpeg is a Decode, encode, transcode, mux, demux, stream, filter, and play media through machine (via "ffmpeg").
Affected versions of this package are vulnerable to Command Injection. It is possible to inject arbitrary commands due to insecure command formatting. User input inserted as part of the os parameter is passed to the child_process.exec function without any check.
const ffmpeg = require('extra-ffmpeg');
ffmpeg.sync([{y: true}, {i: '`touch HACKED`'}, {acodec: 'copy', o: 'aud.mp3'}]);