CVE-2023-46121

Medium

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

SeverityMedium
CVSS5.0
Exploit probability—
ProductYt-dlp
PublishedNov 15, 2023
First seenNov 15, 2023
Weakness typeCWE-444CWE-444

How to fix

Update
  • yt-dlp_project yt-dlp2023.11.14 or later
  • yt-dlp2023.11.14 or later

Affected products

ProductAffected versionsFixed in
yt-dlp_project yt-dlp2022.10.04 ≤ v < 2023.11.142023.11.14
yt-dlpPyPI2022.10.04 ≤ v < 2023.11.142023.11.14

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.