Saltar al contenido
DUPIN
ALERTAS · EN VIVO
Contacto

VULNERABILIDAD

CVE-2026-57487 Cuerpos HTTP chunked eluden g_maxContentLength en libupnp

Antes de 2.0.2, Transfer-Encoding: chunked hace que el analizador HTTP en upnp/src/genlib/net/http/httpparser.c deje parser-content_length en cero mientras parser_parse_chunky_entity y parser_parse_chunky_body acumulan bytes decodificados en parser-msg.entity. Las comprobaciones de g_maxContentLength en http_RecvMessage rechazan cuerpos con Content-Length numérico excesivo pero no aplican el mismo límite a los cuerpos chunked decodificados. Un par remoto que alcance una ruta SOAP, GENA, miniserver o de respuesta…

Alerta de Nureq Monitor

Detectada 16 OCT · 13:34

CVSS 3.1

7.5ALTA

PROBABILIDAD DE EXPLOTACIÓN (EPSS)

0,4 % PERCENTIL 28

EXPLOTACIÓN ACTIVA

No confirmada

EXPLOIT PÚBLICO

No conocido

Qué es CVE-2026-57487

Antes de 2.0.2, Transfer-Encoding: chunked hace que el analizador HTTP en upnp/src/genlib/net/http/httpparser.c deje parser-content_length en cero mientras parser_parse_chunky_entity y parser_parse_chunky_body acumulan bytes decodificados en parser-msg.entity. Las comprobaciones de g_maxContentLength en http_RecvMessage rechazan cuerpos con Content-Length numérico excesivo pero no aplican el mismo límite a los cuerpos chunked decodificados. Un par remoto que alcance una ruta SOAP, GENA, miniserver o de respuesta…

Productos y versiones afectadas

  • pupnp

    • < 2.0.2

Qué hacer

  1. Verificá si usás pupnp y en qué versión: el rango afectado figura arriba.
  2. Actualizá a la versión corregida que indique el fabricante en su aviso (ver referencias) o aplicá la mitigación que publique.
  3. Revisá registros y accesos de los sistemas expuestos para descartar que se haya aprovechado antes de corregir.

Calculadora CVSS

CVSS 3.1 · 7.5 ALTA

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

VECTOR DE ATAQUE (AV)
Red
COMPLEJIDAD DEL ATAQUE (AC)
Baja
PRIVILEGIOS REQUERIDOS (PR)
Ninguno
INTERACCIÓN DEL USUARIO (UI)
Ninguna
ALCANCE (S)
Sin cambio
CONFIDENCIALIDAD (C)
Ninguna
INTEGRIDAD (I)
Ninguna
DISPONIBILIDAD (A)
Alta

Abrir la calculadora completa

Descripción original

pupnp is an SDK for development of UPnP device and control point applications. Prior to 2.0.2, Transfer-Encoding: chunked causes the HTTP parser in upnp/src/genlib/net/http/httpparser.c to leave parser->content_length at zero while parser_parse_chunky_entity and parser_parse_chunky_body accumulate decoded bytes in parser->msg.entity. The g_maxContentLength checks in http_RecvMessage in upnp/src/genlib/net/http/httpreadwrite.c therefore reject oversized numeric Content-Length bodies but do not enforce the same limit on decoded chunked bodies. A remote peer that can reach a SOAP, GENA, miniserver, or control-point HTTP response path can make the process buffer an entity larger than the configured maximum, causing resource exhaustion and denial of service. This issue is fixed in 2.0.2.

Referencias

Historial de la alerta

  1. VULNERABILIDAD Nueva vulnerabilidad detectada.

CÓMO SE HIZOResumen traducido automáticamente al español a partir de la descripción original. Ante dudas, la descripción original y las referencias del fabricante son la fuente de verdad. Cómo funciona.