yt-dlp/yt_dlp/compat
Simon Sawicki de015e9307
[core] Prevent RCE when using `--exec` with `%q` (CVE-2023-40581)
The shell escape function is now using `""` instead of `\"`. `utils.Popen` has been patched to properly quote commands.

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-42h4-v29r-42qg for reference.

Authored by: Grub4K
2023-09-24 02:29:01 +02:00
..
urllib [cleanup] Misc (#8182) 2023-09-23 20:00:31 +00:00
__init__.py [core] Prevent RCE when using `--exec` with `%q` (CVE-2023-40581) 2023-09-24 02:29:01 +02:00
_deprecated.py
_legacy.py
compat_utils.py
functools.py
imghdr.py
shutil.py
types.py