Skip to content
DoS Disclosed report Intermediate CVE-2024-7765

H2O Vulnerable to Denial of Service (DoS) via Large GZIP Parsing

Uploading and repeatedly parsing a large GZIP file in H2O-3 version 3.46.0.2 can exhaust server memory and create many slow-running jobs, making the server unresponsive. An attacker could cause a denial of service by exploiting the improper handling of highly compressed data.

h2oai/h2o-3

Originally disclosed on huntr

In h2oai/h2o-3 version 3.46.0.2, a vulnerability exists where uploading and repeatedly parsing a large GZIP file can cause a denial of service. The server becomes unresponsive due to memory exhaustion and a large number of concurrent slow-running jobs. This issue arises from the improper handling of highly compressed data, leading to significant data amplification.

From the GitHub Advisory Database (GHSA-6w62-3jvj-mfj6, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the server does not limit the decompressed size or the number of concurrent parsing jobs when handling GZIP files, allowing data amplification to exhaust memory.

Impact

The server could become unresponsive due to memory exhaustion and many concurrent slow-running jobs, causing a denial of service.

What the attacker needed

Ability to upload a GZIP file; ability to trigger parsing repeatedly

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A GZIP file is a compressed file that can expand to a much larger size when unpacked. If a server unpacks such a file without limits, it can run out of memory and stop responding, which is called a denial of service. Here, an attacker can upload a small compressed file that expands hugely and repeat the process to overwhelm the server.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More from h2oai/h2o-3

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.