tromesh/ffmpegdotjs · Security
Command Injection in ffmpegdotjs
- GHSA ID
- GHSA-f39r-cpmj-whcg
- CVE ID
- CVE-2021-23376
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
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.
CWEs
- CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')