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
..
2022-11-16 06:57:07 +05:30
2023-02-28 23:15:13 +05:30
2023-01-07 00:31:00 +05:30
2024-03-11 00:48:47 +05:30
2023-06-21 09:21:23 +05:30
2024-04-09 16:12:26 +00:00
2023-12-30 22:27:36 +01:00