GitHub Advisory Database
GHSA-hx4r-w6wj-j8fg
devalue: Residual sparse-array CPU amplification in uneval
Details
uneval performs synchronous work proportional to a sparse array's declared length. An application that passes attacker-influenced sparse values to uneval can suffer event-loop blocking. Since attacker-controlled creation of sparse arrays is so difficult, this vulnerability is very difficult to exploit.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | devalue | All versions before 5.9.3 (fixed in 5.9.3) |