Skip to content
OpenAdvisories
Medium · 5.0 CVE-2023-46121 EUVD-2023-2858GHSA-3ch3-jhc6-5r8xPYSEC-2026-2063

Generic Extractor MITM Vulnerability in yt-dlp

Published Nov 14, 2023 · Updated Aug 29, 2024 · Assigned by GitHub_M

Description

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

Affected products

VendorProductAffectedFixed
yt-dlp yt-dlp >= 2022.10.04, < 2023.11.14 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 yt-dlp 2023.11.16-1 —
Debian 13 yt-dlp 2023.11.16-1 —
Debian 12 yt-dlp No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 yt-dlp No fix yet —
Ubuntu 26.04 LTS yt-dlp No fix yet —
Ubuntu 25.10 yt-dlp No fix yet —
Ubuntu 24.04 LTS yt-dlp No fix yet —
Ubuntu 22.04 LTS yt-dlp No fix yet —
ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP5 yt-dlp 2023.11.14-bp155.3.3.1 openSUSE-SU-2023:0374-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed yt-dlp 2023.11.16-1.1 openSUSE-SU-2024:13435-1
openSUSE Leap 15.5 yt-dlp 2023.11.14-bp155.3.3.1 openSUSE-SU-2023:0374-1
ReleasePackageFixed inAdvisory
Alpine v3.24 yt-dlp 2023.11.14-r0 —
Alpine v3.23 yt-dlp 2023.11.14-r0 —
Alpine v3.22 yt-dlp 2023.11.14-r0 —
Alpine v3.21 yt-dlp 2023.11.14-r0 —
Alpine v3.20 yt-dlp 2023.11.14-r0 —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 yt-dlp 2023.11.14-r0 —
Alpine v3.18 yt-dlp 2023.11.14-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI yt-dlp >= 2022.10.04, < 2023.11.14 2023.11.14 GHSA-3ch3-jhc6-5r8x

Advisories 2

References