1. Archivio CVE
  2. 2007
  3. CVE-2007-1285

CVE-2007-1285

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

The Zend Engine in PHP 4.x before 4.4.7, and 5.x before 5.2.2, allows remote attackers to cause a denial of service (stack exhaustion and PHP crash) via deeply nested arrays, which trigger deep recursion in the variable destruction routines.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
canonical ubuntu linux 7.10 –
novell suse linux 10.0 –
novell suse linux 10.1 –
php php >= 4.0.0 < 4.4.7 –
php php >= 5.0.0 < 5.2.2 –
redhat enterprise linux desktop 3.0 –
redhat enterprise linux desktop 4.0 –
redhat enterprise linux server 2.0 –
redhat enterprise linux server 3.0 –
redhat enterprise linux server 4.0 –
redhat enterprise linux workstation 2.0 –
redhat enterprise linux workstation 3.0 –
redhat enterprise linux workstation 4.0 –
suse linux enterprise server 8 –
suse linux enterprise server 10 sp1 –
Tutte le 757 vulnerabilità di Php

Tipo di vulnerabilità

CWE-674 Ricorsione non controllata

Il prodotto non controlla la profondità della ricorsione, che può consumare risorse eccessive come la memoria o lo stack del programma.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria
Riservatezza Leggere i dati dell’applicazione

Come si previene

Sviluppo Ensure that an end condition will be reached under all logic conditions. The end condition may include checking against the depth of recursion and exiting with an error if the recursion goes too deep. The complexity of the end condition contributes to the effectiveness of this action.
Sviluppo Increase the stack size.

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

Tutte le 656 CVE di tipo CWE-674, con andamento e prevenzione

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