Descrição
Nokogiri versions before 1.19.4 contain a possible invalid (out-of-bounds) memory read in the protected internal Node#initialize_copy_with_args helper behind Node#dup and #clone, which unwrapped its source argument as an xmlNode without a type check. If application code calls this protected method with a non-Node argument (e.g., a Namespace), it reads an xmlNs out of bounds, crashing the process. This is only triggerable by a programming error and cannot be triggered by untrusted input or normal use of the public API. Only CRuby is affected. Version 1.19.4 adds a type check and raises TypeError.
CVSS 5.5EPSS 0.181%Risco 0.56
Ver fonte- Publicação
- 2026-08-25 16:17:28
- Versões afetadas
- <1.19.4
- Tipo
- Biblioteca
- Última alteração
- 2026-08-26 17:17:23
- Vetor
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H