Lucene search

K
hackeroneBartH1:2453328
HistoryApr 08, 2024 - 8:41 p.m.

Internet Bug Bounty: Assertion failed in node::http2::Http2Session::~Http2Session() leads to HTTP/2 server crash

2024-04-0820:41:07
bart
hackerone.com
$3645
20
node.js
http/2
server crash
bug bounty
vulnerability
security release
hackerone report

6.8 Medium

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.1%

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.

Impact

Server crashes instantly after sending a few HTTP/2 frames.