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

CVE-2019-14235

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

Descrizione

An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. If passed certain inputs, django.utils.encoding.uri_to_iri could lead to significant memory usage due to a recursion when repercent-encoding invalid UTF-8 octet sequences.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
djangoproject django >= 1.11 < 1.11.23 –
djangoproject django >= 2.1 < 2.1.11 –
djangoproject django >= 2.2 < 2.2.4 –
opensuse leap 15.1 –
Tutte le 174 vulnerabilità di Djangoproject Django

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 662 CVE di tipo CWE-674, con andamento e prevenzione

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