Descrizione
The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions.
The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| terser | terser | < 4.8.1 | node.js |
| terser | terser | >= 5.0.0 < 5.14.2 | node.js |
CWE-1333 Espressione regolare inefficiente (ReDoS)
Il prodotto usa un’espressione regolare che nel caso peggiore ha una complessità di calcolo molto alta, anche esponenziale: un input costruito ad arte può bloccare il servizio.
| Ambito | Impatto |
|---|---|
| Disponibilità | Interruzione del servizio: esaurimento della CPU |
Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.
Tutte le 534 CVE di tipo CWE-1333, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org