p PatchFirst

CVE-2026-80213

CVE-2026-80213

CVSS 4.0 · Media · EPSS 0,4% · Corrección disponible

Compara con tu versión instalada

Los productos afectados y las versiones corregidas conocidas son datos públicos. Compáralos con tu versión instalada.

  • resolvActualiza a 0.3.2 / 0.7.2
  • ruby Alpine 3.21Actualiza a 3.3.13-r0
  • ruby Alpine 3.22Actualiza a 3.4.12-r0
  • ruby Alpine 3.23Actualiza a 3.4.12-r0
  • y 4 más

Comprueba la versión instalada:

apk list -I -o ruby

Evalúa los riesgos de tu servidor

La comprobación gratuita te da una puntuación y un resumen de riesgos por pila tecnológica, sin registro. No indica si esta vulnerabilidad concreta te afecta.

La monitorización compara los datos públicos con el software de tus servidores. Ofrece hallazgos detallados y el orden de las actualizaciones.

curl -fsSL https://patchfirst.dev/check.sh | sh
Comprobar tu servidor gratis →

Los canales publican noticias generales sobre tecnologías; la monitorización te avisa de nuevos hallazgos en tus servidores en el panel, mediante notificaciones del navegador, en Telegram o por webhook.

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

An issue was discovered in the resolv gem before 0.7.2 for Ruby. Resolv::DNS::MessageEncoder wrote a DNS label's length into a single octet without checking its range. A label longer than 255 octets had its length stored modulo 256 but the label data was written unchanged, and thus the bytes on the wire described a different name than the one the application asked to encode. RFC 1035 section 2.3.4 limits a label to 63 octets, and the two high bits of the length octet are reserved for compression pointers. put_string packed the length with put_pack("C", d.length) and put_label used it for labels, and thus any value from 0 to 255 could end up as a label length octet, including the reserved 0x40-0xBF range and the 0xC0-0xFF pointer range. Resolv::DNS::Name.create did not check per-label or total name length either, and thus an attacker-controlled hostname reached the encoder unchanged. An application that resolves an attacker-controlled hostname sends a query whose wire bytes name a domain the attacker chose. A hostname suffix that the application validates against an allowlist becomes padding that never appears on the wire, and thus allowlist and egress checks can be bypassed. The recursive resolver caches the response under the attacker's name, and DNS logs record that name rather than the one the application asked for. A label length whose low octet lands in the 0xC0-0xFF range produces a length octet that conforming parsers read as the start of a compression pointer, with the following attacker-controlled byte as the offset.

Publicación
Actualización

Correcciones en distribuciones

Pila tecnológica: system

Productos y versiones afectados

  • resolv

    Versiones
    • ≥ 0, < 0.3.2: Afectada (semver)
    • ≥ 0.4.0, < 0.7.2: Afectada (semver)

    Actualiza a 0.3.2; Actualiza a 0.7.2

  • ruby Alpine 3.21

    Intervalos de versiones afectados
    • ECOSYSTEM: < 3.3.13-r0

    Actualiza a 3.3.13-r0

  • ruby Alpine 3.22

    Intervalos de versiones afectados
    • ECOSYSTEM: < 3.4.12-r0

    Actualiza a 3.4.12-r0

  • ruby Alpine 3.23

    Intervalos de versiones afectados
    • ECOSYSTEM: < 3.4.12-r0

    Actualiza a 3.4.12-r0

  • ruby Alpine 3.24

    Intervalos de versiones afectados
    • ECOSYSTEM: < 3.4.12-r0

    Actualiza a 3.4.12-r0

  • ruby3.1 Debian 12

    Versiones
    • 3.1.2-7
    • 3.1.2-7+deb12u1
    • 3.1.2-7+hurd.1
    • 3.1.2-8
    • 3.1.2-8.1~exp1
    • 3.1.2-8.3
    Todas las versiones (8)
    • 3.1.2-8.4
    • 3.1.2-8.5
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

  • ruby3.3 Debian 13

    Versiones
    • 3.3.8-2
    • 3.3.8-2.1
    • 3.3.8-2.2
    Intervalos de versiones afectados
    • ECOSYSTEM: < 3.3.13-0+deb13u1

    Actualiza a 3.3.13-0+deb13u1

  • ruby3.3 Debian 14

    Versiones
    • 3.3.8-2
    • 3.3.8-2.1
    • 3.3.8-2.2
    Intervalos de versiones afectados
    • ECOSYSTEM: (−∞, +∞)

    Sin corrección publicada

Fuentes originales

Comprueba tu servidor →