{"id":"CVE-2023-46121","published":"2023-11-14T23:31:55Z","modified":"2024-08-29T15:19:23Z","title":"Generic Extractor MITM Vulnerability in yt-dlp","vendor":"yt-dlp","product":"yt-dlp","tier":"tail","description":{"text":"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`.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00379,"percentile":0.32725,"provenance":"source"},"cwes":[{"id":"CWE-444","name":"Inconsistent Interpretation of HTTP Requests"}],"references":[{"url":"https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-3ch3-jhc6-5r8x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/yt-dlp/yt-dlp/commit/f04b5bedad7b281bee9814686bba1762bae092eb","tags":["x_refsource_MISC"]},{"url":"https://github.com/yt-dlp/yt-dlp/releases/tag/2023.11.14","tags":["x_refsource_MISC"]}],"priority":{"score":10.0,"factors":[{"name":"EPSS percentile","points":6.54},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"yt-dlp","affectedVersions":[{"vendor":"yt-dlp","product":"yt-dlp","versions":[">= 2022.10.04, < 2023.11.14"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-08-29T15:18:50.836529Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"yt-dlp","vulnerableRanges":[">=2022.10.04, <2023.11.14"],"patched":["2023.11.14"],"from":["GHSA-3ch3-jhc6-5r8x","PYSEC-2026-2063"],"provenance":"source"}],"summary":{"text":"The Generic Extractor in yt-dlp, a youtube-dl fork, can be made to route a request to an arbitrary URL through an attacker-chosen proxy, letting that proxy intercept traffic from yt-dlp's HTTP session and, in some cases, exfiltrate cookies. Exploitation requires the victim to process attacker-supplied content, with the attacker able to influence the request, and is made easier by use of --no-check-certificate.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:11:21Z"},"euvd":{"id":"EUVD-2023-2858","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-35934","published":"2023-07-06","fixed":"2023.7.06","kev":false},{"cve":"CVE-2023-40581","published":"2023-09-25","fixed":"2023.09.24","kev":false,"link":{"from":"CVE-2023-40581","to":"CVE-2023-46121","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:yt-dlp","fromFixed":"2023.09.24","toFixed":"2023.11.14","daysApart":50}]}},{"cve":"CVE-2023-46121","published":"2023-11-14","fixed":"2023.11.14","kev":false},{"cve":"CVE-2024-22423","published":"2024-04-09","fixed":"2024.04.09","kev":false},{"cve":"CVE-2024-38519","published":"2024-07-02","fixed":"2024.07.01","kev":false},{"cve":"CVE-2026-26331","published":"2026-02-24","fixed":"2026.02.21","kev":false}],"package":"PyPI:yt-dlp"}}