F5 NGINX: use after free
This issue occurs when NGINX Plus or NGINX Open Source is configured as a proxy, the proxied server name includes variables, and a Server Side Includes (SSI) or mirror directive sends a subrequest to a location that resolves the same server name. Under these conditions, a specially crafted HTTP request may cause a use-after-free condition in a worker process. An attacker may also be able to execute code if Address Space Layout Randomization (ASLR) is disabled or the attacker can bypass ASLR.
Impact:
An attacker could leverage this vulnerability to crash the NGINX worker process, corrupt its memory, or perform remote code execution (RCE)
Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| NGINX Open Source Product | >= 1.31.0, < 1.31.9 | 1.31.9 |
| >= 1.30.0, < 1.30.7 | 1.30.7 | |
| <= 0.6.18 | No fix yet | |
| NGINX Plus Product | >= 37.1.0, < 37.3.0.1 | 37.3.0.1 |
| >= 37.0.0, < 37.0.8.1 | 37.0.8.1 | |
| <= R33 | No fix yet |
Details and references
- CVSS 4.0
- CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-416