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/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
3 weeks ago
..
urllib [docs] Misc Cleanup (#8977) 2 months ago
__init__.py [core] Prevent RCE when using `--exec` with `%q` (CVE-2024-22423) 3 weeks ago
_deprecated.py [compat] Ensure submodules are imported correctly 9 months ago
_legacy.py [networking] Remove `_CompatHTTPError` (#8871) 3 months ago
compat_utils.py [dependencies] Handle deprecation of `sqlite3.version` (#8167) 7 months ago
functools.py Remove Python 3.7 support (#8361) 5 months ago
imghdr.py [mhtml, cleanup] Use imghdr 2 years ago
shutil.py [compat] Fix `shutils.move` in restricted ACL mode on BSD (#5309) 1 year ago
types.py Fix e0c4db04dc for pypy 9 months ago