CVE-2024-34161
NGINX vulnerability analysis and mitigation

Overview

CVE-2024-34161 affects NGINX Plus and NGINX OSS when configured to use the HTTP/3 QUIC module. The vulnerability was discovered by Nils Bars of CISPA and disclosed on May 29, 2024. The affected versions include NGINX 1.25.0-1.25.5 and 1.26.0, with fixes available in versions 1.27.0 and 1.26.1 (Openwall Mailing List).

Technical details

The vulnerability occurs when the network infrastructure supports a Maximum Transmission Unit (MTU) of 4096 bytes or greater without fragmentation. Under these conditions, specially crafted QUIC packets can trigger a use-after-free condition (CWE-416) in NGINX worker processes, leading to memory leaks of previously freed memory. The vulnerability has been assigned a CVSS v3.1 base score of 5.3 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (NVD).

Impact

The primary impact of this vulnerability is the potential exposure of sensitive information through memory leaks. When successfully exploited, the vulnerability can cause NGINX worker processes to leak previously freed memory, potentially exposing sensitive data that was previously stored in memory (Fedora Advisory).

Mitigation and workarounds

The primary mitigation is to upgrade to NGINX version 1.26.1 or 1.27.0, which contain fixes for this vulnerability. For systems that cannot be immediately upgraded, administrators should note that the vulnerability only affects installations where the HTTP/3 QUIC module is explicitly enabled through the "quic" option in the "listen" directive (Openwall Mailing List).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management