Skip to content
DoS Disclosed report Advanced CVE-2024-31079

CVE-2024-31079 in nginx

A stack-based buffer overflow exists in nginx's HTTP/3 QUIC module when handling undisclosed HTTP/3 requests. An attacker could cause worker processes to terminate, leading to a denial of service, though the attack requires precise timing during connection draining that the attacker cannot observe.

noentry Follow

Originally disclosed on HackerOne

Bounty$2,600 Medium View original
  • Triaged in 32 hours
  • Fixed in 30 days
  • Paid in 30 days
  • Disclosed after 32 days

Summary by the program

K000139611: NGINX HTTP/3 QUIC vulnerability CVE-2024-31079

Security Advisory Description

When NGINX Plus or NGINX OSS are configured to use the HTTP/3 QUIC module, undisclosed HTTP/3 requests can cause NGINX worker processes to terminate or cause other potential impact. This attack requires that a request be specifically timed during the connection draining process, which the attacker has no visibility and limited influence over. (CVE-2024-31079)

Note: This issue affects NGINX systems compiled with the ngx_http_v3_module module, where the configuration contains a listen directive with the quic option enabled. The HTTP/3 QUIC module is considered an experimental feature and is not compiled by default in NGINX OSS, but it is compiled by default in NGINX Plus. For more information, refer to Support for QUIC and HTTP/3. Additionally, because users control their own custom build environments, certain security measures may not be implemented in the users' build configurations. These security measures may include memory-related build and system configuration options. Consequently, the severity of the impact depends on whether users build the software with or without security options or utilize pre-built binaries, which include security protections by default.

Impact

Client traffic may be disrupted while the worker process restarts. This vulnerability allows a remote unauthenticated attacker to cause a denial-of-service (DoS) or other potential impact. There is no control plane exposure; this is a data plane issue only.

Security Advisory Status

F5 Product Development has assigned ID NFOSS-826 (NGINX Plus and NGINX OSS) to this vulnerability. This issue has been classified as CWE-121: Stack-based Buffer Overflow.

Full Security Advisory: https://my.f5.com/manage/s/article/K000139611

The report

When NGINX Plus or NGINX OSS are configured to use the HTTP/3 QUIC module, undisclosed HTTP/3 requests can cause NGINX worker processes to terminate or cause other potential impact. This attack requires that a request be specifically timed during the connection draining process, which the attacker has no visibility and limited influence over.

Impact

An undisclosed HTTP/3 requests can cause NGINX worker processes to terminate or cause other potential impact.

The original report as published on HackerOne, by noentry. 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 a stack-based buffer overflow (CWE-121) in the HTTP/3 QUIC module when processing certain requests during connection draining.

Impact

Client traffic may be disrupted while the worker process restarts, allowing a remote unauthenticated attacker to cause a denial-of-service or other potential impact; the attack requires precise timing during connection draining that the attacker has limited influence over.

What the attacker needed

Nginx built with HTTP/3 QUIC module; listen directive with quic option enabled; request timed during connection draining

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.

This is a bug in nginx, a popular web server, specifically in its experimental HTTP/3 feature. A specially crafted request can overflow a memory buffer, crashing the worker process that handles traffic. The attacker cannot easily control when this happens because it depends on a timing window they cannot see.

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 noentry

View all

4 more disclosed reports, best first.

More from Internet Bug Bounty

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.