Heap-based buffer overflow in Squid - CVE-2016-3947
Published: April 7, 2016 / Updated: July 28, 2020
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 (Alpine package)
squid
Fedora
How to mitigate CVE-2016-3947
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
- http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00010.html
- http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00040.html
- http://lists.opensuse.org/opensuse-updates/2016-08/msg00069.html
- http://www.securitytracker.com/id/1035457
- http://www.squid-cache.org/Advisories/SQUID-2016_3.txt
- http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10495.patch
- http://www.squid-cache.org/Versions/v3/3.2/changesets/squid-3.2-11839.patch
- http://www.squid-cache.org/Versions/v3/3.3/changesets/squid-3.3-12694.patch
- http://www.squid-cache.org/Versions/v3/3.4/changesets/squid-3.4-13232.patch
- http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-14015.patch
- http://www.ubuntu.com/usn/USN-2995-1
- https://security.gentoo.org/glsa/201607-01