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

http: Reading unprocessed HTTP request with unbounded chunk extension allows DoS attacks

Node.js HTTP servers read an unbounded number of chunk extension bytes from a single connection, so an attacker could exhaust CPU and network bandwidth and cause denial of service. The issue bypasses standard safeguards such as timeouts and body size limits.

bart Follow

Originally disclosed on HackerOne

High 7.5 View original
  • Triaged in 2 days
  • Fixed in 4 months
  • Disclosed after 4 months

Summary by the program

A vulnerability in Node.js HTTP servers allows an attacker to send a specially crafted HTTP request with chunked encoding, leading to resource exhaustion and denial of service (DoS). The server reads an unbounded number of bytes from a single connection, exploiting the lack of limitations on chunk extension bytes. The issue can cause CPU and network bandwidth exhaustion, bypassing standard safeguards like timeouts and body size limits.

The original report as published on HackerOne, by bart. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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 HTTP parser did not cap the number of chunk extension bytes it would read per connection, so a client could stream them indefinitely.

Impact

An attacker could exhaust CPU and network bandwidth and cause denial of service, bypassing timeouts and body size limits.

What the attacker needed

Ability to send HTTP requests to the server

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.

When a web server receives data in chunks, each chunk can carry extra descriptive text called a chunk extension. This report says Node.js kept reading that extra text without any limit, so someone could keep sending it forever and tie up the server's resources. That makes the service slow or unavailable for normal users, which is a denial of service.

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 by bart

View all

5 more disclosed reports, best first.

More from Node.js

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.