stills is vulnerable to Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
93
CVE Score
Critical
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
expand() in lib/stills/frames.js builds an ffmpeg command string from an untrusted media filename supplied to the library, and execCmd runs it through a shell, so a filename containing $(...) or backticks executes operating system commands with Node.js process privileges. The gifsicle call in lib/content/utils/make-gif.js and the convert call in lib/effects/exec.js follow the same pattern. Checks of the published affected and fixed npm artifacts are still missing. The fix passes ffmpeg, gifsicle and convert arguments as literal arrays so no shell interprets the filename.
Upgrade the stills package to version 25.24.2 or later.
You are affected if you are using a version that falls within the vulnerable range and process video or GIF media files with this library.
2.0.0 - 25.24.1
Fixed in 25.24.2stills is vulnerable to Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in versions 2.0.0 - 25.24.1.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.