critical9.8
CVE-2021-23376
Command Injection in ffmpegdotjs
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | ffmpegdotjs | <= 0.0.4 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ffmpegdotjs Project | Ffmpegdotjs | All versions |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/TRomesh/ffmpegdotjs/blob/b7395daf0bdcb81218340427eb7073cdd28462af/index.js%23L219
- https://snyk.io/vuln/SNYK-JS-FFMPEGDOTJS-1078542
- https://github.com/advisories/GHSA-f39r-cpmj-whcg
- https://nvd.nist.gov/vuln/detail/CVE-2021-23376
- https://github.com/TRomesh/ffmpegdotjs/blob/b7395daf0bdcb81218340427eb7073cdd28462af/index.js#23L219