← back
CVE-2024-27983

CVE-2024-27983

CVSS 8.2 HIGHEPSS 87.2%CWE-362
In short

An attacker can crash a Node.js HTTP/2 server by sending specially crafted HTTP/2 frames followed by abruptly closing the connection, leaving unprocessed data in memory that causes the server to become unavailable.

Technical detail

A race condition exists in Node.js HTTP/2 implementation where sending CONTINUATION frames and abruptly terminating the TCP connection triggers premature Http2Session destruction while headers are still being processed in nghttp2 memory, leading to denial of service without requiring authentication or special privileges.

Summary generated and translated by AI from the official description.
An attacker can make the Node.js HTTP/2 server completely unavailable by sending a small amount of HTTP/2 frames packets with a few HTTP/2 frames inside. It is possible to leave some data in nghttp2 memory after reset when headers with HTTP/2 CONTINUATION frame are sent to the server and then a TCP connection is abruptly closed by the client triggering the Http2Session destructor while header frames are still being processed (and stored in memory) causing a race condition.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Affected products
NodeJS · Node

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →