CVE-2021-23376

Arbitrary Command Injection

Critical · published April 18, 2021

CVSS v3.1
9.8
EPSS
2%
Percentile
80.2
In the wild
Unconfirmed
What it is

🔥 Blink and you could miss it — a tiny oversight in ffmpegdotjs opens the door for attackers to execute any command they want! Think of the trimvideo function as a restaurant chef following a recipe without checking the ingredients. If someone sneaks in a toxic item as a substitute, the entire meal could turn deadly! An attacker could exploit this vulnerability to run arbitrary commands on your server, leading to potential data theft, system compromise, or even complete control over the application. With the severity marked as critical, the consequences could be absolutely devastating!

Put simply

Think of the trimvideo function as a restaurant chef following a recipe without checking the ingredients. If someone sneaks in a toxic item as a substitute, the entire meal could turn deadly! This vulnerability arises from using the child_process exec function without proper input sanitization in the trimvideo function, allowing attackers to pass malicious commands directly to the operating system.

What to do

An attacker could exploit this vulnerability to run arbitrary commands on your server, leading to potential data theft, system compromise, or even complete control over the application. With the severity marked as critical, the consequences could be absolutely devastating! Immediate action is required! Update ffmpegdotjs to the latest version where this vulnerability is resolved. Additionally, ensure that all user inputs are properly sanitized to prevent similar exploits in the future. You've got this! By taking these steps, you'll not only fix this issue but also level up your security game! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
CVSS v4.0
Not supplied
EPSS
0.01959 · 80.2th percentile
Published
2021-04-18T18:40Z
EPSS history
Timeline
  • 18 APR 18:40Z
    Arbitrary Command Injection
    cvelistv5