Vulnerability · Published Apr 18, 2021 · Assigned by snyk
CVE-2021-23376Arbitrary Command Injection
Critical 9.8
In plain English
A critical-severity security flaw in ffmpegdotjs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 80% of all known vulnerabilities).
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)2.0%top 19.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | ffmpegdotjs | no fix listed | GHSA-f39r-cpmj-whcg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | ffmpegdotjs | 0 – before unspecified |