CVE Vulnerabilities

CVE-2024-34161

Use After Free

Published: May 29, 2024 | Modified: Jan 24, 2025
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
5.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

When NGINX Plus or NGINX OSS are configured to use the HTTP/3 QUIC module and the network infrastructure supports a Maximum Transmission Unit (MTU) of 4096 or greater without fragmentation, undisclosed QUIC packets can cause NGINX worker processes to leak previously freed memory.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
Nginx_open_sourceF51.25.0 (including)1.26.1 (excluding)
Nginx_plusF5r30 (including)r30 (including)
Nginx_plusF5r30-p1 (including)r30-p1 (including)
Nginx_plusF5r30-p2 (including)r30-p2 (including)
Nginx_plusF5r31 (including)r31 (including)
Nginx_plusF5r31-p1 (including)r31-p1 (including)

Potential Mitigations

References