DoS via Unbounded Memory Allocation in sendWebStream on Fastify v5.7.0+ leads to OOM crash when backpressure is ignored
Fastify's sendWebStream function ignores the return value of res.write, so it keeps pulling data from a Web Stream even when the client's TCP buffer is full. An attacker who requests a streaming endpoint and never reads the response can force the server to buffer the whole stream in memory until it crashes with an out-of-memory error.
Fastify