Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. yt-dlp
  4. ›
  5. CVE-2023-46121

CVE-2023-46121: yt-dlp Generic Extractor MITM Vulnerability via Arbitrary Proxy Injection

November 15, 2023 (updated November 22, 2023)

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.

References

  • github.com/advisories/GHSA-3ch3-jhc6-5r8x
  • github.com/yt-dlp/yt-dlp/commit/f04b5bedad7b281bee9814686bba1762bae092eb
  • github.com/yt-dlp/yt-dlp/releases/tag/2023.11.14
  • github.com/yt-dlp/yt-dlp/security/advisories/GHSA-3ch3-jhc6-5r8x
  • nvd.nist.gov/vuln/detail/CVE-2023-46121

Code Behaviors & Features

Detect and mitigate CVE-2023-46121 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2022.10.04 before 2023.11.14

Fixed versions

  • 2023.11.14

Solution

Upgrade to version 2023.11.14 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Source file

pypi/yt-dlp/CVE-2023-46121.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:28 +0000.