Skip to main content
← All vulnerabilities
CVE-2023-46121PYSEC-2026-2063GHSA-3CH3-JHC6-5R8X

Generic Extractor MITM Vulnerability in yt-dlp

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2023.11.14
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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`.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • yt-dlp yt-dlp

    From 2022.10.04 · fixed in 2023.11.14

  • yt-dlpPyPI

    From 2022.10.04 · fixed in 2023.11.14

References 3

GitHub · yt-dlp/yt-dlp