CVE-2023-46121
Description
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`.
How to fix
- yt-dlp_project yt-dlp2023.11.14 or later
- yt-dlp2023.11.14 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| yt-dlp_project yt-dlp | 2022.10.04 ≤ v < 2023.11.14 | 2023.11.14 |
| yt-dlpPyPI | 2022.10.04 ≤ v < 2023.11.14 | 2023.11.14 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.