Amenazas en vivo

Todas las CVE / Juliangruber

CVE-2026-14257Juliangruber Brace-expansion

Alta 7.5 Sin autenticación

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

brace-expansion through 5.0.7 is vulnerable to denial of service via memory exhaustion. The expand() function limits the number of results with a max option (default 100,000) but does not bound the length of each result string. By chaining multiple brace groups, an attacker keeps the result count under the limit while making each result progressively longer, so total memory scales with both count and string length until the process hits a fatal, uncatchable out-of-memory error. About 7.5 KB of input ('{a,b}'.repeat(1500)) crashes a default Node.js process. Any application that passes attacker-influenced strings to brace-expansion.expand() - directly or transitively via minimatch / glob brace patterns - can be crashed by a small request. Fixed in 5.0.8 by adding a maxLength option (default 4,000,000) that bounds accumulated output and intermediate arrays.

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 Brace-expansion.
  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 brace-expansion ≥ 4.0.0 < 5.0.8 5.0.8 npm install brace-expansion@5.0.8
npm brace-expansion ≥ 3.0.0 < 3.0.3 3.0.3 npm install brace-expansion@3.0.3
npm brace-expansion ≥ 2.0.0 < 2.1.3 2.1.3 npm install brace-expansion@2.1.3
npm brace-expansion < 1.1.17 1.1.17 npm install brace-expansion@1.1.17

Según OSV / GitHub Advisories (GHSA-mh99-v99m-4gvg). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
juliangruberbrace-expansion< 1.1.17
juliangruberbrace-expansion≥ 2.0.0 < 2.1.3
juliangruberbrace-expansion≥ 3.0.0 < 3.0.3
juliangruberbrace-expansion≥ 4.0.0 < 5.0.8

Boletines oficiales

Además: Red Hat (+12)

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.