1. Archivio CVE
  2. 2024
  3. CVE-2024-41990

CVE-2024-41990

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

An issue was discovered in Django 5.0 before 5.0.8 and 4.2 before 4.2.15. The urlize() and urlizetrunc() template filters are subject to a potential denial-of-service attack via very large inputs with a specific sequence of characters.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
djangoproject django >= 4.2 < 4.2.15 –
djangoproject django >= 5.0 < 5.0.8 –
Tutte le 174 vulnerabilità di Djangoproject Django

Tipo di vulnerabilità

CWE-130 Improper Handling of Length Parameter Inconsistency

The product parses a formatted message or structure, but it does not handle or incorrectly handles a length field that is inconsistent with the actual length of the associated data.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità Leggere la memoria, Modificare la memoria, Dipende dal contesto

Come si previene

Sviluppo When processing structured incoming data containing a size field followed by raw data, ensure that you identify and resolve any inconsistencies between the size field and the actual size of the data.
Sviluppo Do not let the user control the size of the buffer.
Sviluppo Validate that the length of the user-supplied data is consistent with the buffer size.

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

Tutte le 115 CVE di tipo CWE-130, con andamento e prevenzione

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