Descrizione
A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.
A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 because of the reCustomIgnore regular expression.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| kangax | html-minifier | <= 4.0.0 | node.js |
| terser | html-minifier-terser | <= 7.2.0 | 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 531 CVE di tipo CWE-1333, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org