Lack of data validation In nginx
Description
A vulnerability exists in NGINX Plus and NGINX Open Source when a map directive uses regex matching and a string expression references the map's regex capture variables before referencing the map output variable. Alternatively, the same result could be achieved by using a non-cacheable variable in a string expression under certain conditions. An unauthenticated attacker along with conditions beyond their control can exploit this vulnerability by sending crafted HTTP requests. This may cause a heap buffer overflow in the NGINX worker process leading to a restart. Additionally, attackers can execute code on systems with Address Space Layout Randomization (ASLR) disabled or when the attacker can bypass ASLR.
Impact: This vulnerability may allow remote attackers to cause a denial-of-service (DoS) on the NGINX system or to possibly trigger a code execution. There is no control plane exposure; this is a data plane issue only.
Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
rpm rhel9 | 2:1.20.1-28.el9_8.6 | ||
rpm rhel8 | 1:1.24.0-3.module+el8.10.0+24848+0300f002.5 | ||
alpine v3.21 | 1.26.3-r2 | ||
debian 14 | 1.30.4-3 | ||
rpm rhel10 | 2:1.26.3-6.el10_2.7 | ||
debian 12 | 1.22.1-9+deb12u10 | ||
debian 13 | 1.26.3-3+deb13u8 | ||
alpine v3.22 | 1.28.3-r6 | ||
alpine v3.24 | 1.30.4-r0 | ||
alpine v3.23 | 1.28.3-r6 |
1-10 of 11
10
Aliases
References