CVE-2023-35934: yt-dlp is a command-line program to download videos from video sites
37
Routine
MEDIUM 6.1MITIGATEDOWNGRADEUPGRADE
CVE-2023-35934 is a medium-severity flaw (CVSS 6.1) affecting youtube-dlc, youtube-dl, yt-dlp. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
yt-dlp is a command-line program to download videos from video sites. During file downloads, yt-dlp or the external downloaders that yt-dlp employs may leak cookies on HTTP redirects to a different host, or leak them when the host for download fragments differs from their parent manifest's host. This vulnerable behavior is present in yt-dlp prior to 2023.07.06 and nightly 2023.07.06.185519. All native and external downloaders are affected, except
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
fedoraproject fedora MITIGATE
Affected: 37 · 38
Fixed in: no fixed release known
Safe to downgrade to: a release before 37
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2023-35934?
youtube-dlc: mitigate or apply the listed mitigation; youtube-dl: downgrade or apply the listed mitigation; yt-dlp: upgrade to 2023.07.06, 2023.07.06.185519. Exact commands for each OS are on this page.
Is CVE-2023-35934 being exploited?
CVE-2023-35934 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2023-35934 affect?
CVE-2023-35934 affects youtube-dlc, youtube-dl, yt-dlp. Severity is medium (CVSS 6.1). yt-dlp is a command-line program to download videos from video sites. During file downloads, yt-dlp or the external downloaders that yt-dlp employs may leak cookies on HTTP redirects to a different host, or leak them when the host for downl