CVEfocus › CVE database › CVE-2023-46121

CVE-2023-46121Generic Extractor MITM Vulnerability in yt-dlp

CVSS 5.0 MediumEPSS 0.4% (higher than 32% of CVEs)Published 2023-11-14Updated 2024-08-29Assigner: GitHub_M

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

CWE-444

What to do

Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
2Fix pending
3Under investigation
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10yt-dlpFix pendingUBUNTU-CVE-2023-46121
Ubuntu 26.04yt-dlpUnder investigationUBUNTU-CVE-2023-46121
Ubuntu 25.10yt-dlpWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2023-46121
Ubuntu 24.04yt-dlpUnder investigationUBUNTU-CVE-2023-46121
Ubuntu 22.04yt-dlpUnder investigationUBUNTU-CVE-2023-46121
Debian 14yt-dlpFixed2023.11.16-1DEBIAN-CVE-2023-46121
Debian 13yt-dlpFixed2023.11.16-1DEBIAN-CVE-2023-46121
Debian 12yt-dlpFix pendingDEBIAN-CVE-2023-46121
Alpine Linux 3.24yt-dlpFixed2023.11.14-r0ALPINE-CVE-2023-46121
Alpine Linux 3.23yt-dlpFixed2023.11.14-r0ALPINE-CVE-2023-46121
Alpine Linux 3.22yt-dlpFixed2023.11.14-r0ALPINE-CVE-2023-46121
Alpine Linux 3.21yt-dlpFixed2023.11.14-r0ALPINE-CVE-2023-46121
Alpine Linux 3.20yt-dlpFixed2023.11.14-r0ALPINE-CVE-2023-46121
Alpine Linux 3.19yt-dlpFixed2023.11.14-r0ALPINE-CVE-2023-46121
Alpine Linux 3.18yt-dlpFixed2023.11.14-r0ALPINE-CVE-2023-46121
PyPI libraryyt-dlpFixed2023.11.14PYSEC-2026-2063

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.