CVE-2024-27280ruby-lang ruby
Crítica 9.8 Sin autenticación
Seguir: esta CVE · ruby-lang · ruby-lang ruby Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.4% probabilidad de explotación en 30 días · percentil 85
- Requiere autenticación
- No
- Publicada
- 14 may 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-120
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
A buffer-overread issue was discovered in StringIO 3.0.1, as distributed in Ruby 3.0.x through 3.0.6 and 3.1.x through 3.1.4. The ungetbyte and ungetc methods on a StringIO can read past the end of a string, and a subsequent call to StringIO.gets may return the memory value. 3.0.3 is the main fixed version; however, for Ruby 3.0 users, a fixed version is stringio 3.0.1.1, and for Ruby 3.1 users, a fixed version is stringio 3.0.1.2.
Qué hacer
- Aplica la actualización de seguridad del fabricante para ruby.
- 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 | stringio |
< 3.0.1.1 |
3.0.1.1 |
gem "stringio", ">= 3.0.1.1" |
Según OSV / GitHub Advisories (GHSA-v5h6-c2hv-hv3r). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- ruby-lang · ruby
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.