CVE-2023-46121
Fixed in a distro release EPSS <1%CVSS 5.0
yt-dlp is a youtube-dl fork with additional features and fixes. The Generic Extractor in yt-dlp is vulnerable to an attacker setting an arbitrary proxy for a request to an arbitrary url, allowing the attacker to MITM the request made from yt-dlp's HTTP session. This could lead to cookie exfiltration in some cases. Version 2023.11.14 removed the ability to smuggle `http_headers` to the Generic extractor, as well as other extractors that use the same pattern. Users are advised to upgrade. Users unable to upgrade should disable the Ggneric extractor (or only pass trusted sites with trusted content) and ake caution when using `--no-check-certificate`.
Products: yt-dlp
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| PyPI | yt-dlp | 2023.11.14 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 12 | yt-dlp | no fix |
| Debian 13 | yt-dlp | 2023.11.16-1 |
| Debian 14 | yt-dlp | 2023.11.16-1 |
| SUSE Package Hub 15 SP5 | yt-dlp | 2023.11.14-bp155.3.3.1 |
| Ubuntu 22.04 LTS | yt-dlp | no fix |
| Ubuntu 24.04 LTS | yt-dlp | no fix |
| Ubuntu 25.10 | yt-dlp | no fix |
| Ubuntu 26.04 LTS | yt-dlp | no fix |
| Ubuntu 26.10 | yt-dlp | no fix |
| openSUSE Leap 15.5 | yt-dlp | 2023.11.14-bp155.3.3.1 |
| openSUSE Tumbleweed | yt-dlp | 2023.11.16-1.1 |