1. Archivio CVE
  2. 2023
  3. CVE-2023-46121

CVE-2023-46121

3.7 Gravità bassa CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N 3.7 – Bassa

Descrizione

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

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
yt-dlp project yt-dlp >= 2022.10.04 < 2023.11.14 –
Tutte le 11 vulnerabilità di Yt-dlp Project Yt-dlp

Tipo di vulnerabilità

CWE-444 HTTP request smuggling: interpretazione incoerente delle richieste HTTP

Il prodotto fa da intermediario HTTP (proxy, firewall) tra client e server, ma interpreta le richieste o risposte malformate in modo diverso da come le interpreterà la destinazione finale: un attaccante può così far passare richieste nascoste.

Impatto sui sistemi

AmbitoImpatto
Integrità, Non ripudio, Controllo degli accessi Stato imprevisto, Nascondere le proprie attività, Aggirare i meccanismi di protezione

Come si previene

Sviluppo Use a web server that employs a strict HTTP parsing procedure, such as Apache.
Sviluppo Use only SSL communication.
Sviluppo Terminate the client session after each request.
Configurazione del sistema Turn all pages to non-cacheable.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 454 CVE di tipo CWE-444, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org