devalue denial of service in stringifyAsync promise handling
sveltejs devalue
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| devalue npm |
|
|
Original description
devalue (sveltejs/devalue) 5.8.0 before 5.9.3 contains an unhandled promise rejection in stringifyAsync: when serializing multiple promises, a later promise rejecting before an earlier one settles leaves an internal rejection unhandled, even if the caller catches the returned promise. An attacker able to influence the timing or failure of serialized asynchronous values can terminate the Node.js process.
From the CVE record · VulnCheck