Amenazas en vivo

Todas las CVE / body-parser

CVE-2026-111181body-parser

Alta 7.5 Sin autenticación

Prioridad
60
CVSS 3.1
7.5
EPSS
—
Requiere autenticación
No
Publicada
22 oct 2026
Actualizada
22 oct 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-248
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

body-parser is body parsing middleware for Node.js and Express. In versions before 1.20.9 and in versions from 2.0.0 before 2.4.0, a single request can crash any application using body-parser with default options. When a request carries a Content-Encoding such as gzip, body-parser pipes it into a decompression stream and, after reading the body, leaves that stream with no error listener. A payload of one valid compressed frame followed by trailing bytes decodes and the application responds normally, but the trailing bytes then reach the already-finished decoder, which emits an error that is re-thrown as an uncaught exception and terminates the process. No matching route is required because body parsing runs before routing, so any endpoint that parses a body is affected. The issue is fixed in body-parser 2.4.0 and 1.20.9, and users should upgrade to one of those versions or later. As a workaround, disable request-body inflation (set the body-parser inflate option to false) so encoded requests are rejected before any decompression stream is created.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para body-parser.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
npm body-parser ≥ 2.0.0 < 2.4.0 2.4.0 npm install body-parser@2.4.0
npm body-parser < 1.20.9 1.20.9 npm install body-parser@1.20.9

Según OSV / GitHub Advisories (GHSA-27r3-jxmh-p828). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados

Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.

Boletines oficiales

Además: Red Hat (+1)

Avisos de fabricantes, CERT y distribuciones que nombran esta CVE. Títulos sin modificar.

En redes

2 personas y 3 posts en Bluesky en los últimos 30 días.

Los posts más recientes, sin bots ni feeds automáticos. El texto es de sus autores. Buscar en Bluesky

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.