NGINX Plus and NGINX Open Source have a vulnerability in the ngx_http_rewrite_module module. This vulnerability exists when the rewrite directive is followed by a rewrite, if, or set directive and an unnamed Perl-Compatible Regular Expression (PCRE) capture (for example, $1, $2) with a replacement string that includes a question mark (?). An unauthenticated attacker along with conditions beyond its 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.
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Dos | F5 | 4.3.0 (including) | 4.7.0 (including) |
| Dos | F5 | 4.8.0 (including) | 4.8.0 (including) |
| Nginx_gateway_fabric | F5 | 1.3.0 (including) | 1.6.2 (including) |
| Nginx_gateway_fabric | F5 | 2.0.0 (including) | 2.5.1 (including) |
| Nginx_ingress_controller | F5 | 3.5.0 (including) | 3.7.2 (including) |
| Nginx_ingress_controller | F5 | 4.0.0 (including) | 4.0.1 (including) |
| Nginx_ingress_controller | F5 | 5.0.0 (including) | 5.4.1 (including) |
| Nginx_instance_manager | F5 | 2.16.0 (including) | 2.21.1 (including) |
| Nginx_open_source | F5 | 0.6.27 (including) | 1.30.0 (including) |
| Nginx_plus | F5 | r32 (including) | r36 (including) |
| Waf | F5 | 4.9.0 (including) | 4.16.0 (including) |
| Waf | F5 | 5.1.0 (including) | 5.8.0 (including) |
| Waf | F5 | 5.9.0 (including) | 5.12.1 (including) |
| Red Hat Enterprise Linux 10 | RedHat | nginx-2:1.26.3-2.el10_1.2 | * |
| Red Hat Enterprise Linux 10 | RedHat | nginx-2:1.26.3-6.el10_2.3 | * |
| Red Hat Enterprise Linux 10.0 Extended Update Support | RedHat | nginx-2:1.26.3-1.el10_0.9 | * |
| Red Hat Enterprise Linux 8 | RedHat | nginx:1.24-8100020260514165201.489197e6 | * |
| Red Hat Enterprise Linux 9 | RedHat | nginx-2:1.20.1-24.el9_7.3 | * |
| Red Hat Enterprise Linux 9 | RedHat | nginx:1.24-9080020260514160836.9 | * |
| Red Hat Enterprise Linux 9 | RedHat | nginx:1.26-9080020260514152324.9 | * |
| Red Hat Enterprise Linux 9 | RedHat | nginx-2:1.20.1-28.el9_8.2 | * |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | RedHat | nginx-1:1.20.1-10.el9_0.4 | * |
| Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | RedHat | nginx-1:1.20.1-14.el9_2.6 | * |
| Red Hat Enterprise Linux 9.4 Extended Update Support | RedHat | nginx-1:1.20.1-16.el9_4.6 | * |
| Red Hat Enterprise Linux 9.4 Extended Update Support | RedHat | nginx:1.24-9040020260514192210.9 | * |
| Red Hat Enterprise Linux 9.6 Extended Update Support | RedHat | nginx:1.24-9060020260514175739.9 | * |
| Red Hat Enterprise Linux 9.6 Extended Update Support | RedHat | nginx:1.26-9060020260514170123.9 | * |
| Red Hat Enterprise Linux 9.6 Extended Update Support | RedHat | nginx-2:1.20.1-22.el9_6.6 | * |
| Red Hat Hardened Images | RedHat | nginx-main-1.30.1-1.hum1 | * |
| Red Hat Openshift Data Foundation 4.14 | RedHat | odf4/ocs-client-console-rhel9:1779972138 | * |
| Red Hat Openshift Data Foundation 4.14 | RedHat | odf4/odf-console-rhel9:1779972283 | * |
| Red Hat Openshift Data Foundation 4.14 | RedHat | odf4/odf-multicluster-console-rhel9:1779972179 | * |
| Red Hat Openshift Data Foundation 4.15 | RedHat | odf4/ocs-client-console-rhel9:1779967811 | * |
| Red Hat Openshift Data Foundation 4.15 | RedHat | odf4/odf-console-rhel9:1779967813 | * |
| Red Hat Openshift Data Foundation 4.15 | RedHat | odf4/odf-multicluster-console-rhel9:1779968303 | * |
| Red Hat Openshift Data Foundation 4.16 | RedHat | odf4/ocs-client-console-rhel9:1779959318 | * |
| Red Hat Openshift Data Foundation 4.16 | RedHat | odf4/odf-console-rhel9:1779959527 | * |
| Red Hat Openshift Data Foundation 4.16 | RedHat | odf4/odf-multicluster-console-rhel9:1779959592 | * |
| Red Hat Openshift Data Foundation 4.17 | RedHat | odf4/ocs-client-console-rhel9:1779952245 | * |
| Red Hat Openshift Data Foundation 4.17 | RedHat | odf4/odf-console-rhel9:1779952279 | * |
| Red Hat Openshift Data Foundation 4.17 | RedHat | odf4/odf-multicluster-console-rhel9:1779952463 | * |
| Red Hat Openshift Data Foundation 4.18 | RedHat | odf4/ocs-client-console-rhel9:1779881302 | * |
| Red Hat Openshift Data Foundation 4.18 | RedHat | odf4/odf-console-rhel9:1779881608 | * |
| Red Hat Openshift Data Foundation 4.18 | RedHat | odf4/odf-multicluster-console-rhel9:1779881122 | * |
| Red Hat Openshift Data Foundation 4.19 | RedHat | odf4/ocs-client-console-rhel9:1779881012 | * |
| Red Hat Openshift Data Foundation 4.19 | RedHat | odf4/odf-console-rhel9:1779881008 | * |
| Red Hat Openshift Data Foundation 4.19 | RedHat | odf4/odf-multicluster-console-rhel9:1779881332 | * |
| Red Hat Openshift Data Foundation 4.2 | RedHat | odf4/ocs-client-console-rhel9:1779879463 | * |
| Red Hat Openshift Data Foundation 4.2 | RedHat | odf4/odf-console-rhel9:1779877770 | * |
| Red Hat Openshift Data Foundation 4.2 | RedHat | odf4/odf-multicluster-console-rhel9:1779881377 | * |
| Red Hat Openshift Data Foundation 4.21 | RedHat | odf4/ocs-client-console-rhel9:1779946521 | * |
| Red Hat Openshift Data Foundation 4.21 | RedHat | odf4/odf-console-rhel9:1779946525 | * |
| Red Hat Openshift Data Foundation 4.21 | RedHat | odf4/odf-multicluster-console-rhel9:1779946691 | * |
| Red Hat Satellite 6.18 | RedHat | satellite/iop-gateway-rhel9:1779706745 | * |
| Red Hat Satellite 6.19 | RedHat | satellite/iop-gateway-rhel9:1779706797 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/cds-rhel9:1779798159 | * |
| Red Hat Update Infrastructure 5 | RedHat | rhui5/rhua-rhel9:1779798222 | * |
| Nginx | Ubuntu | esm-infra-legacy/trusty | * |
| Nginx | Ubuntu | esm-infra-legacy/xenial | * |
| Nginx | Ubuntu | esm-infra/bionic | * |
| Nginx | Ubuntu | esm-infra/focal | * |
| Nginx | Ubuntu | esm-infra/xenial | * |
| Nginx | Ubuntu | jammy | * |
| Nginx | Ubuntu | noble | * |
| Nginx | Ubuntu | questing | * |
| Nginx | Ubuntu | resolute | * |
| Nginx | Ubuntu | upstream | * |