p PatchFirst

CVE-2023-46121

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

CVSS 5.0 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • yt-dlp

    Versions
    • >= 2022.10.04, < 2023.11.14: Affected

    No fix published

  • yt-dlp Debian:12

    Versions
    • 2023.03.04-1
    • 2023.06.21-1
    • 2023.06.22-1
    • 2023.06.22-1~bpo12+1
    • 2023.07.06-1
    • 2023.07.06-1~bpo12+1
    • 2023.09.24-1
    • 2023.09.24-2
    • 2023.09.24-2~bpo12+1
    • 2023.10.07-1
    • 2023.10.07-1~bpo12+1
    • 2023.10.13-1
    • 2023.10.13-1~bpo11+1
    • 2023.10.13-1~bpo12+1
    • 2023.11.16-1
    • 2023.11.16-1~bpo11+1
    • 2023.11.16-1~bpo12+1
    • 2023.12.30-1
    • 2024.03.10-1
    • 2024.03.10-1~bpo12+1
    • 2024.04.09-1
    • 2024.04.09-1~bpo12+1
    • 2024.05.26-1
    • 2024.05.26-1~bpo12+1
    • 2024.05.27-1
    • 2024.05.27-1~bpo12+1
    • 2024.07.01-1
    • 2024.07.02-1
    • 2024.07.02-1~bpo12+1
    • 2024.07.07-1
    • 2024.07.09-1
    • 2024.07.09-1~bpo12+1
    • 2024.07.16-1
    • 2024.07.16-1~bpo12+1
    • 2024.07.25-1
    • 2024.07.25-1~bpo12+1
    • 2024.08.01-1
    • 2024.08.01-1~bpo12+1
    • 2024.08.06-1
    • 2024.08.06-1~bpo12+1
    • 2024.09.27-1
    • 2024.09.27-1~bpo12+1
    • 2024.10.07-1
    • 2024.10.07-1~bpo12+1
    • 2024.10.22-1
    • 2024.10.22-1~bpo12+1
    • 2024.11.04-1
    • 2024.11.18-1
    • 2024.11.18-1~bpo12+1
    • 2024.12.03-1
    • 2024.12.03-1~bpo12+1
    • 2024.12.06-1
    • 2024.12.06-1~bpo12+1
    • 2024.12.13-1
    • 2024.12.13-1~bpo12+1
    • 2024.12.23-1
    • 2024.12.23-1~bpo12+1
    • 2025.01.12-1
    • 2025.01.12-1~bpo12+1
    • 2025.01.15-1
    • 2025.01.15-1~bpo12+1
    • 2025.01.26-1
    • 2025.01.26-1~bpo12+1
    • 2025.02.19-1
    • 2025.02.19-1~bpo12+1
    • 2025.03.21-1
    • 2025.03.21-1~bpo12+1
    • 2025.03.25-1
    • 2025.03.26-1
    • 2025.03.26-1~bpo12+1
    • 2025.03.27-1
    • 2025.03.27-1~bpo12+1
    • 2025.03.31-1
    • 2025.03.31-1~bpo12+1
    • 2025.04.30-1
    • 2025.04.30-1~bpo12+1
    • 2025.05.22-1
    • 2025.06.09-1
    • 2025.06.25-1
    • 2025.06.30-1
    • 2025.07.21-1
    • 2025.08.11-1
    • 2025.08.11-1~bpo13+1
    • 2025.08.20-1
    • 2025.08.22-1
    • 2025.08.27-1
    • 2025.08.27-1~bpo13+1
    • 2025.09.05-1
    • 2025.09.05-1~bpo13+1
    • 2025.09.23-1
    • 2025.09.26-1
    • 2025.09.26-1~bpo13+1
    • 2025.10.14-1
    • 2025.10.14-1~bpo13+1
    • 2025.10.22-1
    • 2025.10.22-1~bpo13+1
    • 2025.11.12-1
    • 2025.11.12-1~bpo13+1
    • 2025.12.08-1
    • 2025.12.08-1~bpo13+1
    • 2026.01.31-1
    • 2026.01.31-1~bpo13+1
    • 2026.02.21-1
    • 2026.02.21-1~bpo13+1
    • 2026.03.03-1
    • 2026.03.03-1~bpo13+1
    • 2026.03.13-1
    • 2026.03.13-1~bpo13+1
    • 2026.03.17-1
    • 2026.03.17-1~bpo13+1
    • 2026.06.09-1
    • 2026.06.09-1~bpo13+1
    • 2026.07.04-1
    • 2026.07.04-1~bpo13+1
    • 2026.08.19-1
    • 2026.08.19-1~bpo13+1
    • 2026.10.21-1
    • 2026.10.21-1~bpo13+1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yt-dlp Debian:13

    Affected ranges
    • ECOSYSTEM: < 2023.11.16-1

    Update to 2023.11.16-1

  • yt-dlp Debian:14

    Affected ranges
    • ECOSYSTEM: < 2023.11.16-1

    Update to 2023.11.16-1

  • yt-dlp PyPI

    Versions
    • 2022.10.4
    • 2022.11.11
    • 2023.1.2
    • 2023.1.6
    • 2023.10.13
    • 2023.10.7
    • 2023.11.13.232715.dev0
    • 2023.11.13.5826.dev0
    • 2023.2.17
    • 2023.3.3
    • 2023.3.4
    • 2023.6.21
    • 2023.6.22
    • 2023.7.6
    • 2023.9.24
    Affected ranges
    • ECOSYSTEM: ≥ 2022.10.04, < 2023.11.14

    Update to 2023.11.14

  • yt-dlp Ubuntu:22.04:LTS

    Versions
    • 2021.12.01-1
    • 2021.12.27-1
    • 2022.01.21-1
    • 2022.02.04-1
    • 2022.03.08.1-1
    • 2022.04.08-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yt-dlp Ubuntu:24.04:LTS

    Versions
    • 2023.07.06-1
    • 2023.10.13-1ubuntu1
    • 2023.11.16-1
    • 2023.12.30-1ubuntu1
    • 2024.03.10-1
    • 2024.04.09-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yt-dlp Ubuntu:25.10

    Versions
    • 2025.03.27-1
    • 2025.04.30-1
    • 2025.05.22-1
    • 2025.06.09-1
    • 2025.06.25-1
    • 2025.06.30-1
    • 2025.07.21-1
    • 2025.08.11-1
    • 2025.08.20-1
    • 2025.08.22-1
    • 2025.08.27-1
    • 2025.09.05-1
    • 2025.09.23-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yt-dlp Ubuntu:26.10

    Versions
    • 2026.03.17-1
    • 2026.06.09-1
    • 2026.07.04-1
    • 2026.08.19-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • yt-dlp Ubuntu:26.04:LTS

    Versions
    • 2025.09.23-1
    • 2025.10.22-1
    • 2025.11.12-1
    • 2025.12.08-1
    • 2026.01.31-1
    • 2026.03.17-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →