CVE-2023-46121 json
Generic Extractor MITM Vulnerability in yt-dlp
published 3y ago modified 2mo ago also EUVD-2023-2858 , GHSA-3ch3-jhc6-5r8x , PYSEC-2026-2063
- cvss
- 5.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 32%
- 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
Is CVE-2023-46121 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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 productsnot 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
- 2y ago
Exploit prediction
0.38% chance of exploitation in the next 30 days, higher than 32% of all scored CVEs (FIRST EPSS, 2026-11-15).
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 |
| GitHub | 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 |
| 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
References
-
github.com
/yt-dlp/yt-dlp/commit/f04b5bedad7b281bee9814686bba1762bae092eb
web, patch
-
github.com
/yt-dlp/yt-dlp/security/advisories/GHSA-3ch3-jhc6-5r8x
web, vendor-advisory, advisory
-
github.com
/yt-dlp/yt-dlp/releases/tag/2023.11.14
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2023-46121
advisory
-
github.com
/yt-dlp/yt-dlp
package
-
pypi.org
/project/yt-dlp
package
-
github.com
/advisories/GHSA-3ch3-jhc6-5r8x
advisory
Sources
- CVE List CVE-2023-46121
- GitHub Advisory GHSA-3ch3-jhc6-5r8x
- NVD CVE-2023-46121
- OSV PYSEC-2026-2063
- Maintainer advisory GHSA-3ch3-jhc6-5r8x
Fencer Intel 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.
The maintainers of yt-dlp/yt-dlp published their own advisory on GitHub. Reviewed sources take precedence over it.