1. Archivio CVE
  2. 2019
  3. CVE-2019-11038

CVE-2019-11038

5.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N 5.3 – Media

Descrizione

When using the gdImageCreateFromXbm() function in the GD Graphics Library (aka LibGD) 2.2.5, as used in the PHP GD extension in PHP versions 7.1.x below 7.1.30, 7.2.x below 7.2.19 and 7.3.x below 7.3.6, it is possible to supply data that will cause the function to use the value of uninitialized variable. This may lead to disclosing contents of the stack that has been left there by previous code.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
canonical ubuntu linux 14.04 –
canonical ubuntu linux 16.04 –
canonical ubuntu linux 18.04 –
canonical ubuntu linux 19.10 –
debian debian linux 8.0 –
debian debian linux 9.0 –
fedoraproject fedora 29 –
fedoraproject fedora 30 –
fedoraproject fedora 32 –
libgd libgd 2.2.5 –
opensuse leap 15.1 –
php php >= 7.1.0 < 7.1.30 –
php php >= 7.2.0 < 7.2.19 –
php php >= 7.3.0 < 7.3.6 –
redhat enterprise linux 7.0 –
redhat enterprise linux 8.0 –
redhat software collections 1.0 –
suse linux enterprise debuginfo 11 sp4 –
suse linux enterprise desktop 12 sp4 –
suse linux enterprise server 12 sp4 –
suse linux enterprise server 12 sp5 –
suse linux enterprise software development kit 12 sp4 –
suse linux enterprise software development kit 12 sp5 –
suse linux enterprise workstation extension 12 sp4 –
suse linux enterprise workstation extension 12 sp5 –
Tutte le 757 vulnerabilità di Php
Tutte le 34 vulnerabilità di Libgd

Tipo di vulnerabilità

CWE-908 Uso di una risorsa non inizializzata

Il prodotto usa o accede a una risorsa che non è stata inizializzata.

Impatto sui sistemi

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

Come si previene

Sviluppo Explicitly initialize the resource before use. If this is performed through an API function or standard procedure, follow all required 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 the 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 1.024 CVE di tipo CWE-908, con andamento e prevenzione

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