CVE-2025-24294Ruby resolv
Alta 7.5 Sin autenticación
Seguir: esta CVE · Ruby · Ruby resolv Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 12 jul 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-400
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: parcial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Qué pasa
The attack vector is a potential Denial of Service (DoS). The vulnerability is caused by an insufficient check on the length of a decompressed domain name within a DNS packet.
An attacker can craft a malicious DNS packet containing a highly compressed domain name. When the resolv library parses such a packet, the name decompression process consumes a large amount of CPU resources, as the library does not limit the resulting length of the name.
This resource consumption can cause the application thread to become unresponsive, resulting in a Denial of Service condition.
Qué hacer
- Aplica la actualización de seguridad del fabricante para resolv.
- 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 | resolv |
< 0.2.3 |
0.2.3 |
gem "resolv", ">= 0.2.3" |
| RubyGems | resolv |
≥ 0.4.0 < 0.6.2 |
0.6.2 |
gem "resolv", ">= 0.6.2" |
| RubyGems | resolv |
≥ 0.3.0 < 0.3.1 |
0.3.1 |
gem "resolv", ">= 0.3.1" |
Según OSV / GitHub Advisories (GHSA-xh69-987w-hrp8). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- Ruby · resolv
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Boletines oficiales
- Red Hat Security Advisory: ruby security update · Red Hat · RHSA-2025:23141 · 3 ene 2026 Media
- Red Hat Security Advisory: ruby:3.3 security update · Red Hat · RHSA-2025:23062 · 3 ene 2026 Media
- Red Hat Security Advisory: ruby:3.3 security update · Red Hat · RHSA-2025:23063 · 3 ene 2026 Media
Además: Red Hat (+2)
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.