1. Archivio CVE
  2. 2003
  3. CVE-2003-1564

CVE-2003-1564

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

Descrizione

libxml2, possibly before 2.5.0, does not properly detect recursion during entity expansion, which allows context-dependent attackers to cause a denial of service (memory and CPU consumption) via a crafted XML document containing a large number of nested entity references, aka the "billion laughs attack."

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
xmlsoft libxml2 < 2.5.0 –
Tutte le 123 vulnerabilità di Xmlsoft Libxml2

Tipo di vulnerabilità

CWE-776 Improper Restriction of Recursive Entity References in DTDs

The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento di risorse

Come si previene

Esercizio If possible, prohibit the use of DTDs or use an XML parser that limits the expansion of recursive DTD entities.
Sviluppo Before parsing XML files with associated DTDs, scan for recursive entity declarations and do not continue parsing potentially explosive content.

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

Tutte le 88 CVE di tipo CWE-776, con andamento e prevenzione

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