1. Archivio CVE
  2. 2022
  3. CVE-2022-29181

CVE-2022-29181

8.2 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H 8.2 – Alta

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
apple macos >= 13.0 < 13.1 –
nokogiri nokogiri < 1.13.6 ruby
Tutte le 22 vulnerabilità di Nokogiri

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

AmbitoImpatto
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

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