1. Archivio CVE
  2. 2020
  3. CVE-2020-5227

CVE-2020-5227

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

Feedgen (python feedgen) before 0.9.0 is susceptible to XML Denial of Service attacks. The *feedgen* library allows supplying XML as content for some of the available fields. This XML will be parsed and integrated into the existing XML tree. During this process, feedgen is vulnerable to XML Denial of Service Attacks (e.g. XML Bomb). This becomes a concern in particular if feedgen is used to include content from untrused sources and if XML (including XHTML) is directly included instead of providing plain tex content only. This problem has been fixed in feedgen 0.9.0 which disallows XML entity expansion and external resources.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
feedgen project feedgen < 0.9.0 python

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

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