1. Archivio CVE
  2. 2018
  3. CVE-2018-14647

CVE-2018-14647

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:N/A:H 7.5 – Alta

Descrizione

Python's elementtree C accelerator failed to initialise Expat's hash salt during initialization. This could make it easy to conduct denial of service attacks against Expat by constructing an XML document that would cause pathological hash collisions in Expat's internal data structures, consuming large amounts CPU and RAM. The vulnerability exists in Python versions 3.7.0, 3.6.0 through 3.6.6, 3.5.0 through 3.5.6, 3.4.0 through 3.4.9, 2.7.0 through 2.7.15.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
canonical ubuntu linux 12.04 –
canonical ubuntu linux 14.04 –
canonical ubuntu linux 16.04 –
canonical ubuntu linux 18.04 –
debian debian linux 8.0 –
debian debian linux 9.0 –
fedoraproject fedora 30 –
opensuse leap 15.1 –
python python >= 2.7.0 <= 2.7.15 –
python python >= 3.4.0 <= 3.4.9 –
python python >= 3.5.0 <= 3.5.6 –
python python >= 3.6.0 <= 3.6.6 –
python python 3.7.0 –
redhat enterprise linux desktop 7.0 –
redhat enterprise linux server 7.0 –
redhat enterprise linux workstation 7.0 –
Tutte le 143 vulnerabilità di Python

Tipo di vulnerabilità

CWE-909 Missing Initialization of Resource

The product does not initialize a critical resource.

Impatto sui sistemi

AmbitoImpatto
Altro Dipende dal contesto
Riservatezza Leggere la memoria, Leggere i dati dell’applicazione
Disponibilità Interruzione del servizio: arresto o riavvio

Come si previene

Sviluppo Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all specified steps.
Sviluppo Pay close attention to complex conditionals that affect initialization, since some branches might not perform the initialization.
Sviluppo Avoid race conditions (CWE-362) during initialization routines.
Build e compilazione Run or compile your product with settings that generate warnings about uninitialized variables or data.

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

Tutte le 93 CVE di tipo CWE-909, con andamento e prevenzione

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