← All vulnerabilities

GHSA-hx4r-w6wj-j8fg

npm · devalue

Summary

devalue: Residual sparse-array CPU amplification in uneval

Advisory 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.

References