CVE-2022-29181Nokogiri
Alta 8.2 Sin autenticación
Seguir: esta CVE · Nokogiri · Nokogiri Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 64
- CVSS 3.1
- 8.2
- EPSS
- 2.6% probabilidad de explotación en 30 días · percentil 86
- Requiere autenticación
- No
- Publicada
- 20 may 2022
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H
Qué pasa
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.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Nokogiri.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| RubyGems | nokogiri |
< 1.13.6 |
1.13.6 |
gem "nokogiri", ">= 1.13.6" |
Según OSV / GitHub Advisories (GHSA-xh29-r2w5-wx8m). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| nokogiri | nokogiri | < 1.13.6 |
| apple | macos | ≥ 13.0 < 13.1 |
Boletines oficiales
- ruby4.0-rubygem-nokogiri-1.18.9-1.4 on GA media · SUSE · openSUSE-SU-2026:10356-1 · 13 mar 2026 Crítica
Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Issue Tracking Third Party Advisory
- securitylab.github.com
- seclists.org Mailing List Third Party Advisory
- security.gentoo.org Third Party Advisory
- securitylab.github.com Exploit Third Party Advisory
- support.apple.com Third Party Advisory