All DDoS Definitions
We use this to reply to you. Privacy policy
DDoS Testing Definition

HTTP/2 Ping Flood

An HTTP/2 PING is usually described as a harmless keepalive: eight bytes out, eight bytes back. That holds only while the server can send its replies as fast as they are owed, and the HTTP/2 Ping Flood is a denial-of-service attack built on the moments it cannot; a DDoS test exists to find out which case each HTTP/2 hop is in. Tracked as CVE-2019-9512 (CVSS 7.5), it was made public on 13 August 2019 in a coordinated CERT/CC advisory, VU#605641, as one of eight HTTP/2 denial-of-service flaws disclosed together.

HTTP/2 Ping Flood: every PING is a reply owed Client HTTP/2 hop PING, stream 0 PING PING PING PING, no request ever opened Outbound queue, one connection PING ACK owed PING ACK owed PING ACK owed PING ACK owed PING ACK owed: CPU, memory or both Owed replies capped per connection PING, SETTINGS and RST_STREAM counted, closed past the cap No cap the queue grows as fast as the client sends, real streams stall Request counters and access logs stay at zero for the whole flood BlackNeuron™
HTTP/2 Ping Flood: a client sends a continual stream of PING frames on one connection, the standard requires the server to answer each with a PING acknowledgement, and the replies pile up in the server's outbound queue at a cost in CPU and memory unless the server caps queued control-frame replies and closes the connection past the cap

How an HTTP/2 Ping Flood works

PING is a connection-level frame. It belongs to no stream, and the HTTP/2 standard requires the receiver to answer each one with a PING of its own carrying the ACK flag.

The flood sends PING frames continually. Every one obliges a reply, and the replies go into the server's outbound queue for that connection. If they are produced faster than the connection drains them, and the client decides how fast it reads, the queue grows.

What it costs depends on the implementation. Building and scheduling each reply costs CPU; holding it until it can be written costs memory. The 2019 advisory described the impact as CPU, memory or both, according to how efficiently a server queued the data.

No request is ever made. Because PING opens no stream, the stream concurrency limit never applies, and the request counters that matter for HTTP/2 Rapid Reset stay at zero. The HPACK bomb and the CONTINUATION flood at least begin a request; this one never does.

The same batch held two close relatives. The Settings Flood (CVE-2019-9515) builds the same queue from SETTINGS frames, each of which also demands an acknowledgement, and the Reset Flood (CVE-2019-9514) builds it from stream resets. Multiple widely used HTTP/2 implementations shipped fixes for all three.

Why it matters under attack

Request-layer telemetry is blind to it. No requests means no access log lines, no request rate, and nothing for a WAF rule to match, since those rules evaluate requests. A dashboard shows a quiet connection while the process grows.

It is cheap. PING frames are tiny and need no setup. A few connections are enough, so per-source limits and botnet-sized thresholds do not come into play.

The limit was always advised. The current standard, RFC 9113, says implementations should track and limit frames like these. Whether a given hop does is a property of its HTTP/2 library and its version, not of any policy configured above it. The same goes for its cousin MadeYouReset, found six years later.

HTTP/2 Ping Flood: owed replies fill the send queue PING frames outbound queue for one HTTP/2 connection each cell is a PING ACK the server still owes no cap on owed replies real streams stall The fix: cap owed control-frame replies per connection and close it past the cap BlackNeuron™
Animation of the HTTP/2 Ping Flood: PING frames arrive at a server and fill its outbound queue for one connection with acknowledgements it still owes, cell by cell, until no capacity is left and real streams on the server stall

Hardening, and what a DDoS test measures

The fix is a cap on owed replies: count the queued control-frame responses (PING and SETTINGS acknowledgements, RST_STREAM frames) per connection, and close the connection once the count passes a bound. Run HTTP/2 stacks that carry the 2019 fixes at every hop that terminates the protocol.

A test steps up the PING rate over a few connections to each such hop, draining the replies slowly, then repeats with SETTINGS frames and with resets, since one fix covers the batch. Two numbers come out per frame type.

The first is the queue depth at which the hop gives up on the connection, if it ever does. A hop that never closes it is the finding.

The second is what that depth costs: memory held at the edge of the cap, times the connections the hop will accept from one client. A generous cap on a hop that allows thousands of connections protects very little.

While the frames run, a scripted session keeps making ordinary requests through the same hop. If its responses slow before the flooding connection is closed, the cap is too high to help anyone. Three different depths for PING, SETTINGS and resets on one hop usually mean only one path was fixed.

Protocol-control vectors like this one rarely appear in a request-rate plan, which is why application-layer DDoS testing treats HTTP/2 framing as its own surface rather than as a kind of HTTP flood.

We use this to reply to you. Privacy policy