HexBrain

Internet Bug Bounty · Report #2453322

Apache HTTP Server: HTTP/2 DoS by memory exhaustion on endless continuation frames

Validstatus
mediumseverity
$2,580bounty
40upvotes
24 Apr 2024disclosed

Summary

Apache HTTP Server: HTTP/2 DoS by memory exhaustion on endless continuation frames (CVE-2024-27316)

Severity: Moderate

HTTP/2 incoming headers exceeding the limit are temporarily buffered in nghttp2 in order to generate an informative HTTP 413 response. If a client does not stop sending headers, this leads to memory exhaustion.

Acknowledgements: finder: Bartek Nowotarski (https://nowotarski.info/)

Full Security Advisory: https://httpd.apache.org/security/vulnerabilities_24.html

How it was found

I'd like to report Apache httpd vulnerability (CVE-2024-27316) that was recently fixed.

Impact

HTTP/2 incoming headers exceeding the limit are temporarily buffered in nghttp2 in order to generate an informative HTTP 413 response. If a client does not stop sending headers, this leads to memory exhaustion.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original