CVE-2024-31079 NGINX HTTP/3 QUIC vulnerability

Medium 4.8 Published Updated

Attackers can crash NGINX worker processes via crafted HTTP/3 requests during connection draining, requiring the QUIC module to be enabled.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-31079?

CVE-2024-31079 is a medium-severity memory corruption vulnerability in Fedoraproject Fedora, published on 29 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2024-31079?

2 open source packages ship an affected version, including nginx and nginx-gateway. It affects 3 products.

PackageAffectedFixed in
nginx BitnamiFrom 1.25.01.26.1
nginx-gateway BitnamiFrom 1.25.01.26.1

Products include F5 Nginx Open Source, F5 Nginx Plus, Fedoraproject Fedora.

How do I fix CVE-2024-31079?

Upgrade nginx to 1.26.1 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2024-31079 being exploited?

There is no known exploitation of CVE-2024-31079 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as BIT-nginx-2024-31079, BIT-nginx-gateway-2024-31079, DEBIAN-CVE-2024-31079.

Is CVE-2024-31079 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free