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/devscripts
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
2 weeks ago
..
__init__.py [cleanup] Misc (#8968) 1 month ago
bash-completion.in Completely change project name to yt-dlp (#85) 3 years ago
bash-completion.py [cleanup] Consistent style for file heads 2 years ago
changelog_override.json [core] Prevent RCE when using `--exec` with `%q` (CVE-2024-22423) 2 weeks ago
changelog_override.schema.json [devscripts] Script to generate changelog (#6220) 1 year ago
check-porn.py [compat] Remove deprecated functions from core code 2 years ago
cli_to_api.py [cleanup] Misc 10 months ago
fish-completion.in Completely change project name to yt-dlp (#85) 3 years ago
fish-completion.py [cleanup] Consistent style for file heads 2 years ago
generate_aes_testdata.py [cleanup] Consistent style for file heads 2 years ago
install_deps.py [build] Optional dependencies cleanup (#9550) 3 weeks ago
lazy_load_template.py [extractor] Support multiple `_VALID_URL`s (#5812) 10 months ago
logo.ico Add logo and banner 3 years ago
make_changelog.py [build] Update changelog for tarball and sdist (#9425) 1 month ago
make_contributing.py [cleanup] Consistent style for file heads 2 years ago
make_issue_template.py [cleanup] Misc (#8598) 4 months ago
make_lazy_extractors.py Improve plugin architecture (#5553) 1 year ago
make_readme.py [build] Automated builds and nightly releases (#6220) 1 year ago
make_supportedsites.py [devscripts] Create `utils` and refactor 2 years ago
prepare_manpage.py [docs] Various manpage fixes 2 weeks ago
run_tests.bat [devscripts] `run_tests`: Create Python script (#8720) 4 months ago
run_tests.py Fix 2d1d683a54 4 months ago
run_tests.sh [devscripts] `run_tests`: Create Python script (#8720) 4 months ago
set-variant.py [build, devscripts] Add devscript to set a build variant 2 years ago
tomlparse.py [cleanup] Standardize `import datetime as dt` (#8978) 3 weeks ago
update-version.py [cleanup] Standardize `import datetime as dt` (#8978) 3 weeks ago
update_changelog.py [build] Update changelog for tarball and sdist (#9425) 1 month ago
utils.py [build] Overhaul and unify release workflow 5 months ago
zsh-completion.in Completely change project name to yt-dlp (#85) 3 years ago
zsh-completion.py [cleanup] Consistent style for file heads 2 years ago