yt-dlp/yt_dlp/compat
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
2024-04-09 18:36:13 +02:00
..
urllib [docs] Misc Cleanup (#8977) 2024-03-11 00:48:47 +05:30
__init__.py [core] Prevent RCE when using `--exec` with `%q` (CVE-2024-22423) 2024-04-09 18:36:13 +02:00
_deprecated.py
_legacy.py [networking] Remove `_CompatHTTPError` (#8871) 2024-01-20 15:26:50 +13:00
compat_utils.py
functools.py Remove Python 3.7 support (#8361) 2023-11-16 18:39:00 +00:00
imghdr.py
shutil.py
types.py