1. Archivio CVE
  2. 2022
  3. CVE-2022-0391

CVE-2022-0391

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

Descrizione

A flaw was found in Python, specifically within the urllib.parse module. This module helps break Uniform Resource Locator (URL) strings into components. The issue involves how the urlparse method does not sanitize input and allows characters like '\r' and '\n' in the URL path. This flaw allows an attacker to input a crafted URL, leading to injection attacks. This flaw affects Python versions prior to 3.10.0b1, 3.9.5, 3.8.11, 3.7.11 and 3.6.14.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
fedoraproject fedora 34 –
fedoraproject fedora 35 –
netapp active iq unified manager tutte vsphere
netapp hci tutte –
netapp hci compute node tutte –
netapp management services for element software tutte –
netapp ontap select deploy administration utility tutte –
netapp solidfire, enterprise sds & hci storage node tutte –
oracle http server 12.2.1.3.0 –
oracle http server 12.2.1.4.0 –
oracle zfs storage appliance kit 8.8 –
python python < 3.6.14 –
python python >= 3.7.0 < 3.7.11 –
python python >= 3.8.0 < 3.8.11 –
python python >= 3.9.0 < 3.9.5 –
python python 3.10.0 alpha1 –
python python 3.10.0 alpha2 –
python python 3.10.0 alpha3 –
python python 3.10.0 alpha4 –
python python 3.10.0 alpha5 –
python python 3.10.0 alpha6 –
Tutte le 143 vulnerabilità di Python

Tipo di vulnerabilità

CWE-74 Injection: elementi speciali non neutralizzati in un output destinato a un altro componente

Il prodotto costruisce in tutto o in parte un comando, una struttura dati o un record con dati provenienti dall’esterno, senza neutralizzare gli elementi speciali che possono cambiare il modo in cui il componente successivo lo interpreta.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere i dati dell’applicazione
Controllo degli accessi Aggirare i meccanismi di protezione
In alcuni casi il codice iniettabile controlla l’autenticazione, il che può tradursi in una vulnerabilità sfruttabile da remoto.
Altro Alterare la logica di esecuzione
Integrità, Altro Altro
Non ripudio Nascondere le proprie attività
Spesso le azioni compiute dal codice iniettato non lasciano traccia nei log.

Come si previene

Requisiti Programming languages and supporting technologies might be chosen which are not subject to these issues.
Sviluppo Utilize an appropriate mix of allowlist and denylist parsing to filter control-plane syntax from all input.

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

Tutte le 4.105 CVE di tipo CWE-74, con andamento e prevenzione

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