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

CVE-2024-43398

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

Descrizione

REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
netapp bootstrap os tutte –
ruby-lang rexml < 3.3.6 ruby
Tutte le 8 vulnerabilità di Ruby-lang Rexml

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