CVE-2024-4068Jonschlinkert Braces
Alta 7.5 Sin autenticación
Seguir: esta CVE · Jonschlinkert · Jonschlinkert Braces Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.8% probabilidad de explotación en 30 días · percentil 80
- Requiere autenticación
- No
- Publicada
- 14 may 2024
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- 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 NPM package `braces`, versions prior to 3.0.3, fails to limit the number of characters it can handle, which could lead to Memory Exhaustion. In `lib/parse.js,` if a malicious user sends "imbalanced braces" as input, the parsing will enter a loop, which will cause the program to start allocating heap memory without freeing it at any moment of the loop. Eventually, the JavaScript heap limit is reached, and the program will crash.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Braces.
- 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 |
|---|---|---|---|---|
| npm | braces |
< 3.0.3 |
3.0.3 |
npm install braces@3.0.3 |
Según OSV / GitHub Advisories (GHSA-grv7-fg5c-xmjg). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| jonschlinkert | braces | < 3.0.3 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- devhub.checkmarx.com Third Party Advisory
- github.com Patch
- github.com Issue Tracking
- github.com Exploit Issue Tracking Patch
- github.com Issue Tracking Patch