Out-of-bounds read in Squid - CVE-2021-28116
Published: February 9, 2021 / Updated: October 4, 2021
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition within the handling of the WCCP protocol. A remote attacker can send specially crafted data and corrupt Squids list of known WCCP routers and divert client traffic to attacker controlled routers.
This attack is limited to Squid proxy with WCCPv2 enabled and IP spoofing of a router IP address configured as trusted in squid.conf.
Affected software
squid (Debian package)
libecap-devel
libecap
squid (Ubuntu package)
squid-debugsource
squid-debuginfo
squid
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
SUSE Linux Enterprise Server
SUSE Linux Enterprise Module for Server Applications
Ubuntu
openEuler
Fedora
How to mitigate CVE-2021-28116
squid (Debian package) - addressed in versions 4.6-1+deb10u7, 4.13-10+deb11u1
libecap-devel - update to 1.0.1-2.0.1
libecap - update to 1.0.1-2.0.1
squid (Ubuntu package) - addressed in versions 3.5.27-1ubuntu1.12, 4.10-1ubuntu1.5, 4.13-1ubuntu4.2
squid-debugsource - update to 4.9-10
squid-debuginfo - update to 4.9-10
squid - update to 4.9-10
squid - addressed in versions 4.15-1.fc33, 5.0.6-1.fc34
squid - update to 4.15-3
squid-debugsource - addressed in versions 4.17-4.21.1, 4.17-5.29.1
squid-debuginfo - addressed in versions 4.17-4.21.1, 4.17-5.29.1
squid - addressed in versions 4.17-4.21.1, 4.17-5.29.1