Descrizione
fflate through 0.8.3 contains a denial of service vulnerability in unzipSync and unzip that allows attackers to cause excessive iteration via a crafted ZIP64 end of central directory entry count. Attackers can supply a roughly 100-byte archive whose unchecked 32-bit entry count drives parsing of empty entries for tens of minutes, blocking the JavaScript event loop.
Tipo di vulnerabilità
CWE-606
Unchecked Input for Loop Condition
The product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.
Impatto sui sistemi
| Ambito | Impatto |
| Disponibilità |
Interruzione del servizio: esaurimento della CPU |
Come si previene
Sviluppo
Do not use user-controlled data for loop conditions.
Sviluppo
Perform input validation.
Tutte le 37 CVE di tipo CWE-606, con andamento e prevenzione