REDHAT-BUG-2558750: High severity HAProxy HAProxy vulnerability
HAProxy 3.2 before 3.4.6 allows a remote unauthenticated attacker to cause a denial of service (worker-thread CPU exhaustion) via a truncated HTTP/2 PING frame. h2chandleping in src/muxh2.c does not check for a short read, unlike the other H2 frame handlers. Because the incomplete frame cannot be processed, its data is never consumed, and the H2 multiplexer tasklet is repeatedly woken by that pending data without making progress. The CPU spins until timeout http-request closes the connection, and an attacker opening many such connections can sustain high CPU usage.
Affected Software
Event History
Frequently Asked Questions
Does exploiting this require authentication or prior access?
No. A remote attacker can trigger the condition without authentication by sending a truncated HTTP/2 PING frame.
What limits the duration of CPU consumption for an individual malicious connection?
The worker thread spins until the http-request timeout closes the connection. An attacker can sustain high CPU usage by opening many such connections.