Description
NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when a rewrite directive uses a regex pattern with distinct, overlapping Perl-Compatible Regular Expression (PCRE) captures (for example, ^/((.*))$) and a replacement string that references multiple such captures (for example, $1$2) in a redirect or arguments context. 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. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
CVSS breakdown
Affected products
- debian / debian_linux11.0 – 11.0
- f5 / dos4.3.0 – 4.7.0
- f5 / dos4.9.0 – 4.9.0
- f5 / nginx_gateway_fabric1.3.0 – 1.6.2
- f5 / nginx_ingress_controller3.5.0 – 3.7.2
- f5 / nginx_instance_manager2.17.0 – 2.22.1
- f5 / nginx_open_source1.30.0 – 1.30.2
- f5 / nginx_open_source0.1.17 – 0.9.7
- f5 / nginx_open_source0.1.17 – 0.9.7
- f5 / nginx_open_source1.31.0 – 1.31.0
- f5 / nginx_open_source1.31.0 – 1.31.1
- f5 / nginx_plusr32 – r32
- f5 / nginx_plusr32 – r32
- f5 / nginx_plusr36 – r36
- f5 / nginx_plusr36 – r36
- f5 / nginx_plusr36 – r36
- f5 / nginx_plusr36 – r36
- f5 / nginx_plusr36 – r36
- f5 / nginx_plus37.0 – 37.0.1.1
- f5 / nginx_plusR36 – R36 P5
- f5 / nginx_plusR32 – R32 P7
- f5 / nginx_plus37.0.0 – 37.0.1.1
- f5 / nginx_plusr33 – r36
- f5 / nginx_plus37.0.0.1 – 37.0.0.1
- f5 / nginx_plusr32 – r32
- f5 / nginx_plusr32 – r32
- f5 / nginx_plusr32 – r32
- f5 / nginx_plusr32 – r32
- f5 / nginx_plusr32 – r32
- f5 / waf4.10.0 – 4.16.0
- redhat / discovery
- redhat / enterprise_linux8.0 – 8.0
- redhat / enterprise_linux9.0 – 9.0
- redhat / enterprise_linux10.0 – 10.0
- redhat / hardened_images
- redhat / update_infrastructure5.0 – 5.2