Stack-based buffer overflow in NGINX Open Source and NGINX Plus - CVE-2024-31079

 

Stack-based buffer overflow in NGINX Open Source and NGINX Plus - CVE-2024-31079

Published: June 4, 2024


Vulnerability identifier: #VU90991
CSH Severity: Medium
CVSS v4: 6.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-31079
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary error when HTTP/3 requests within the HTTP/3 QUIC module
 (ngx_http_v3_module). A remote attacker can send specially crafted requests to the web server, trigger a stack-based buffer overflow and perform a denial of service (DoS) attack.

This attack requires that a request be specifically timed during the connection draining process, which the attacker has no visibility and limited influence over.


Affected software

NGINX Open Source
NGINX Plus
Sensor Proxy
IBM Watson Discovery for IBM Cloud Pak for Data

How to mitigate CVE-2024-31079

Install updates from vendor's website.

NGINX Open Source - update to 1.26.1
NGINX Plus - addressed in versions R31 P2, R32
Sensor Proxy - update to 1.4.0
IBM Watson Discovery for IBM Cloud Pak for Data - addressed in versions 4.8.6, 5.0.1

External References

Related Security Bulletins