Descrizione
Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.
Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| npmjs | semver | < 5.7.2 | node.js |
| npmjs | semver | >= 6.0.0 < 6.3.1 | node.js |
| npmjs | semver | >= 7.0.0 < 7.5.3 | 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