You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yt-dlp/yt_dlp/utils
Simon Sawicki ff07792676
[core] Prevent RCE when using `--exec` with `%q` (CVE-2024-22423)
The shell escape function now properly escapes `%`, `\\` and `\n`. `utils.Popen` as well as `%q` output template expansion have been patched accordingly.

Prior to this fix using `--exec` together with `%q` when on Windows could cause remote code to execute. See https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-hjq6-52gw-2g7p for more details.

Authored by: Grub4K
6 months ago
..
__init__.py
_deprecated.py
_legacy.py [cleanup] Misc (#8968) 7 months ago
_utils.py [core] Prevent RCE when using `--exec` with `%q` (CVE-2024-22423) 6 months ago
networking.py
progress.py
traversal.py [utils] `traverse_obj`: Convenience improvements (#9577) 6 months ago