Descrizione
The package shescape from 1.5.10 and before 1.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the escape function in index.js, due to the usage of insecure regex in the escapeArgBash function.
The package shescape from 1.5.10 and before 1.6.1 are vulnerable to Regular Expression Denial of Service (ReDoS) via the escape function in index.js, due to the usage of insecure regex in the escapeArgBash function.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| shescape project | shescape | 1.5.10 | node.js |
| shescape project | shescape | 1.6.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 534 CVE di tipo CWE-1333, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org