All reports
Medium

devalue: Residual sparse-array CPU amplification in uneval

Affected versions

Affected versions
<= 5.9.2
Fixed version
5.9.3

Description

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.

Links

Credits

  • elliott-with-the-longest-name-on-github