Descrizione
This affects versions of the package bn.js before 5.2.3. Calling maskn(0) on any BN instance corrupts the internal state, causing toString(), divmod(), and other methods to enter an infinite loop, hanging the process indefinitely.
This affects versions of the package bn.js before 5.2.3. Calling maskn(0) on any BN instance corrupts the internal state, causing toString(), divmod(), and other methods to enter an infinite loop, hanging the process indefinitely.
| Fornitore | Prodotto | Versione | Piattaforma |
|---|---|---|---|
| – | bn.js | < 5.2.3 | – |
CWE-835 Ciclo infinito (condizione di uscita irraggiungibile)
Il prodotto contiene un ciclo con una condizione di uscita che non può mai verificarsi, cioè un ciclo infinito.
| Ambito | Impatto |
|---|---|
| Disponibilità | Interruzione del servizio: esaurimento della CPU, Interruzione del servizio: esaurimento della memoria, Interruzione del servizio: amplificazione |
Tutte le 990 CVE di tipo CWE-835, con andamento e prevenzione
Fonte: catalogo CWE del MITRE · cwe.mitre.org