CVE-2023-46121

Name
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`.
NVD Severity
low
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-3ch3-jhc6-5r8x
https://github.com/yt-dlp/yt-dlp/commit/f04b5bedad7b281bee9814686bba1762bae092eb
https://github.com/yt-dlp/yt-dlp/releases/tag/2023.11.14

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:yt-dlp_project:yt-dlp:*:*:*:*:*:*:*:* yt-dlp >= 2022.10.04 < 2023.11.14

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
yt-dlp edge-community 2023.11.14-r0 lauren n. liberda <lauren@selfisekai.rocks> fixed
yt-dlp edge-community 2023.09.24-r0 lauren n. liberda <lauren@selfisekai.rocks> possibly vulnerable
yt-dlp edge-community 2023.07.06-r1 lauren n. liberda <lauren@selfisekai.rocks> possibly vulnerable
yt-dlp edge-community 2023.07.06-r0 Lauren N. Liberda <lauren@selfisekai.rocks> possibly vulnerable
yt-dlp 3.22-community 2023.11.14-r0 None fixed
yt-dlp 3.22-community 2023.07.06-r0 None possibly vulnerable
yt-dlp 3.21-community 2023.11.14-r0 None fixed
yt-dlp 3.20-community 2023.11.14-r0 None fixed
yt-dlp 3.19-community 2023.11.14-r0 None fixed
yt-dlp 3.18-community 2023.11.14-r0 lauren n. liberda <lauren@selfisekai.rocks> fixed