1. Archivio CVE
  2. 2024
  3. CVE-2024-4068

CVE-2024-4068

7.5 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 7.5 – Alta

Descrizione

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.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
jonschlinkert braces < 3.0.3 node.js

Tipo di vulnerabilità

CWE-1050 Excessive Platform Resource Consumption within a Loop

The product has a loop body or loop condition that contains a control element that directly or indirectly consumes platform resources, e.g. messaging, sessions, locks, or file descriptors.

Impatto sui sistemi

AmbitoImpatto
Disponibilità Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: esaurimento di risorse, Ridurre le prestazioni

Tutte le 15 CVE di tipo CWE-1050, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org