Descrizione
Nokogiri is an open source XML and HTML library for Ruby. Nokogiri prior to version 1.13.6 does not type-check all inputs into the XML and HTML4 SAX parsers, allowing specially crafted untrusted inputs to cause illegal memory access errors (segfault) or reads from unrelated memory. Version 1.13.6 contains a patch for this issue. As a workaround, ensure the untrusted input is a `String` by calling `#to_s` or equivalent.
Tipo di vulnerabilità
CWE-843
Type confusion: accesso a una risorsa con un tipo incompatibile
Il prodotto crea una risorsa (puntatore, oggetto o variabile) di un certo tipo, ma in seguito vi accede come se fosse di un tipo incompatibile.
Impatto sui sistemi
| Ambito | Impatto |
| Altro |
Dipende dal contesto |
| Disponibilità, Integrità, Riservatezza |
Leggere la memoria, Modificare la memoria, Eseguire codice o comandi non autorizzati, Interruzione del servizio: arresto o riavvio |
Tutte le 927 CVE di tipo CWE-843, con andamento e prevenzione