CVE-2026-71847ruby json
Alta 8.7 Sin autenticación
Seguir: esta CVE · ruby · ruby json Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 67
- CVSS 4.0
- 8.7
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 7 ago 2026
- Actualizada
- 24 oct 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-416
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Qué pasa
Ruby JSON is a JSON implementation for Ruby. From 2.20.0 until 2.21.2, Ruby's JSON native C extension clears the consumed JSON::ResumableParser input buffer but leaves state.start, state.cursor, and state.end pointing into released storage. When partial_value reconstructs an incomplete object containing duplicate keys, the duplicate-key warning path calls cursor_position, which dereferences those stale pointers. This results in a heap-use-after-free and can terminate the Ruby process. An attacker who can supply JSON stream data to an application using JSON::ResumableParser may cause process termination when the application calls partial_value on incomplete attacker-controlled input containing duplicate object keys. This issue has been fixed in version 2.21.2.
Qué hacer
- Aplica la actualización de seguridad del fabricante para json.
- 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 | json |
≥ 2.20.0 < 2.21.2 |
2.21.2 |
gem "json", ">= 2.21.2" |
Según OSV / GitHub Advisories (GHSA-9hj4-r449-hfvc). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- ruby · json
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Security update for hawk-apiserver, hawk2 · SUSE · SUSE-SU-2026:24712-1 · 6 nov 2026 Crítica
- Security update for hawk-apiserver, hawk2 · SUSE · SUSE-SU-2026:24722-1 · 6 nov 2026 Crítica
- Security update for hawk-apiserver, hawk2 · SUSE · openSUSE-SU-2026:22305-1 · 6 nov 2026 Crítica
Además: SUSE (+4)
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.