Heap-based buffer overflow in Squid - CVE-2016-3947

 

Heap-based buffer overflow in Squid - CVE-2016-3947

Published: April 7, 2016 / Updated: July 28, 2020


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

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the Icmp6::Recv function in icmp/Icmp6.cc in the pinger utility in Squid before 3.5.16 and 4.x before 4.0.8. A remote attacker can use an ICMPv6 packet. to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Squid
squid (Alpine package)
squid
Fedora

How to mitigate CVE-2016-3947

The vendor has issued the following versions to address this vulnerability: 3.5.16, 4.0.8.

Squid - addressed in versions 3.5.16, 4.0.8
squid (Alpine package) - update to 3.4.14-r1
squid - addressed in versions 3.5.10-2.fc22, 3.5.16-1.fc24

External References

Related Security Bulletins