Integer overflow in Squid - CVE-2020-11945
Published: May 11, 2020
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to integer overflow when processing HTTP Digest Authentication tokens, if memory pooling is disabled. A remote attacker can pass a specially crafted authentication nonce and execute arbitrary code on the server through the free'd nonce credentials.
In case memory pooling is enabled, a remote attacker can replay a sniffed Digest Authentication nonce to gain access to resources that are otherwise forbidden.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Amazon Linux AMI
Gentoo Linux
CentOS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Anolis OS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Opensuse
openEuler
Fedora
squid (Debian package)
squid (Alpine package)
squid (Red Hat package)
squid3 (Ubuntu package)
squid (Ubuntu package)
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
squid
squid-migration-script
squid-sysvinit
squid-debugsource
squid-debuginfo
How to mitigate CVE-2020-11945
squid (Debian package) - update to 4.6-1+deb10u2
squid (Red Hat package) - update to 3.5.20-15.el7_8.1
squid3 (Ubuntu package) - addressed in versions 3.5.12-1ubuntu7.11, 3.5.27-1ubuntu1.6
squid (Ubuntu package) - addressed in versions 4.8-1ubuntu2.3, 4.10-1ubuntu1.1
squid - update to 3.5.20-17
squid-migration-script - update to 3.5.20-17
squid-sysvinit - update to 3.5.20-17
squid - update to 4.9-5
squid-debugsource - update to 4.9-5
squid-debuginfo - update to 4.9-5
squid - addressed in versions 4.11-1.fc30, 4.11-1.fc31, 4.11-1.fc32
External References
- http://master.squid-cache.org/Versions/v4/changesets/squid-4-eeebf0f37a72a2de08348e85ae34b02c34e9a811.patch
- http://www.openwall.com/lists/oss-security/2020/04/23/2
- http://www.squid-cache.org/Versions/v4/changesets/squid-4-eeebf0f37a72a2de08348e85ae34b02c34e9a811.patch
- https://bugzilla.suse.com/show_bug.cgi?id=1170313
- https://github.com/squid-cache/squid/commit/eeebf0f37a72a2de08348e85ae34b02c34e9a811
- https://github.com/squid-cache/squid/pull/585
- https://www.debian.org/security/2020/dsa-4682
- http://www.squid-cache.org/Advisories/SQUID-2020_4.txt
Related Security Bulletins
- Multiple vulnerabilities in Squid Proxy Cache
- Red Hat Enterprise Linux 8 update for the squid:4 module
- Red Hat Enterprise Linux 7 update for squid
- Red Hat Enterprise Linux 8 update for the squid:4 module
- Red Hat Enterprise Linux 8 update for the squid:4 module
- Debian update for squid
- OpenSUSE Linux update for squid
- Gentoo update for Squid
- Ubuntu update for Squid
- CentOS 7 update for squid
- Amazon Linux AMI update for squid
- Amazon Linux AMI update for squid
- Integer overflow in squid (Alpine package)
- openEuler update for squid
- Anolis OS update for squid
- Fedora 30 update for squid
- Fedora 32 update for squid
- Fedora 31 update for squid