Use-after-free in NGINX Open Source - CVE-2016-0746

 

Use-after-free in NGINX Open Source - CVE-2016-0746

Published: September 21, 2021


Vulnerability identifier: #VU56736
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-0746
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error when processing a crafted DNS response related to CNAME response processing within the resolver in nginx. A remote attacker can send a specially crafted DNS response to the affected server, trigger a use-after-free error and perform a denial of service attack or execute arbitrary code on the system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Affected software

NGINX Open Source
Fedora
Junos OS
nginx
rh-nginx18-nginx (Red Hat package)
PowerFlex rack

How to mitigate CVE-2016-0746

Install updates from vendor's website.

NGINX Open Source - addressed in versions 1.8.1, 1.9.10
Junos OS - addressed in versions 21.4R3-S8, 22.2R3-S5, 22.3R3-S3, 22.4R3-S4, 23.2R2-S2, 23.4R2-S1, 24.2R1
nginx - addressed in versions 1.6.3-8.el7, 1.8.1-1.fc22, 1.8.1-1.fc23, 1.10.1-1.el5, 1.10.1-1.el6
rh-nginx18-nginx (Red Hat package) - addressed in versions 1.8.1-1.el6, 1.8.1-1.el7
PowerFlex rack - update to 3.6.6.0

External References

Related Security Bulletins