Integer overflow in Squid - CVE-2021-31808
Published: May 10, 2021
Vulnerability details
The vulnerability allows a remote client to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient validation of user-supplied input when delivering responses from HTTP Range requests. A remote proxy client can send specially crafted HTTP request via the proxy server, force the server to initiate a necessary response, trigger integer overflow in Squid and perform a denial of service (DoS) attack.
Affected software
Amazon Linux AMI
Gentoo Linux
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
Ubuntu
openEuler
Fedora
squid (Debian package)
libecap
libecap-devel
squid
squid (Ubuntu package)
squid-debuginfo
squid-debugsource
How to mitigate CVE-2021-31808
squid (Debian package) - update to 4.6-1+deb10u6
libecap - update to 1.0.1-2.0.1
libecap-devel - update to 1.0.1-2.0.1
squid - update to 3.5.20-17.44
squid (Ubuntu package) - addressed in versions 3.5.27-1ubuntu1.11, 4.10-1ubuntu1.4, 4.13-1ubuntu2.2, 4.13-1ubuntu4.1
squid - update to 4.9-8
squid-debuginfo - update to 4.9-8
squid-debugsource - update to 4.9-8
squid - addressed in versions 4.15-1.fc33, 5.0.6-1.fc34
squid - update to 4.15-3
External References
Related Security Bulletins
- Multiple vulnerabilities in Squid
- Gentoo update for Squid
- Debian update for squid
- Amazon Linux AMI update for squid
- Ubuntu update for squid
- openEuler 20.03 LTS SP1 update for squid
- Red Hat Enterprise Linux 8 update for the squid:4 module
- Fedora 33 update for squid
- Fedora 34 update for squid
- Anolis OS update for squid:4 module