Skip to content
Fencer Vulns
medium 5.0

CVE-2023-46121 json

Generic Extractor MITM Vulnerability in yt-dlp

published 2023-11-14 2 y ago modified 2026-09-10 1 mo ago also GHSA-3ch3-jhc6-5r8x , PYSEC-2026-2063 , EUVD-2023-2858

cvss
5.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 25%
public exploits
0
none known

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

Patch / fix

  • pypi yt-dlp 2023.11.14
  • yt-dlp_project yt-dlp 2023.11.14
  • yt-dlp Debian 14, Debian 13 2023.11.16-1

debian advisories DEBIAN-CVE-2023-46121

  • yt-dlp openSUSE Tumbleweed 2023.11.16-1.1
  • yt-dlp Package Hub 15 SP5, openSUSE Leap 15.5 2023.11.14-bp155.3.3.1

opensuse advisories openSUSE-SU-2024:13435-1openSUSE-SU-2023:0374-1

  • yt-dlp Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 2023.11.14-r0

alpine advisories ALPINE-CVE-2023-46121

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-46121 updated

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

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.32% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
NVD 3.1 3.7 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHub 3.1 5.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
OSV 3.1 5.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Affected packages

ecosystem package affected fixed in
pypi yt-dlp
>=2022.10.04, <2023.11.14
2023.11.14

Affected products

  • yt-dlp yt-dlp

Classification

Weakness
  • CWE-444 Inconsistent Interpretation of HTTP Requests
  • CWE-613 DEPRECATED: Insufficient Session Expiration

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.