ultralytics-opencv-headless is vulnerable to Command Injection
75
High Risk
The check_requirements() utility auto-installs missing Python dependencies by building a shell command string and running it with the system shell enabled. Requirement strings that originate from untrusted sources such as loaded model files are only wrapped in double quotes, so shell command-substitution sequences embedded in a requirement are still interpreted and executed. This lets externally influenced requirement values run arbitrary operating system commands during automatic dependency installation. The fix passes the package and command arguments as separate subprocess argument-list elements instead of interpolating them into a shell string.
You are affected if you are using a version that falls within the vulnerable range and you load untrusted model files or pass externally influenced requirement strings while automatic dependency installation (AUTOINSTALL) is enabled.
ultralytics-opencv-headless is vulnerable to Command Injection in versions 8.3.242 - 8.4.116.
Upgrade the ultralytics-opencv-headless library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant