Buffer overflow in Squid - CVE-2020-8450

 

Buffer overflow in Squid - CVE-2020-8450

Published: February 7, 2020


Vulnerability identifier: #VU25018
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-8450
CWE-ID: CWE-119
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 when processing HTTP requests, when Squid is acting as a reverse proxy. A remote attacker can send a specially crafted HTTP request to the affected proxy server, trigger memory corruption and execute arbitrary code on the target system.

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


Affected software

Squid
Amazon Linux AMI
Gentoo Linux
Anolis OS
Red Hat Enterprise Linux Server
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 for x86_64
Red Hat Enterprise Linux for ARM 64
Opensuse
openEuler
Fedora
squid (Debian package)
squid (Alpine package)
squid3 (Ubuntu package)
squid (Ubuntu package)
libecap
libecap-devel
squid-sysvinit
squid-migration-script
squid
squid (Red Hat package)
squid-debugsource
squid-debuginfo

How to mitigate CVE-2020-8450

Install updates from vendor's website.

Squid - update to 4.10
squid (Debian package) - update to 4.6-1+deb10u2
squid (Alpine package) - update to 3.5.27-r4
squid3 (Ubuntu package) - addressed in versions 3.5.12-1ubuntu7.10, 3.5.27-1ubuntu1.5
squid (Ubuntu package) - update to 4.8-1ubuntu2.2
libecap - update to 1.0.1-2
libecap-devel - update to 1.0.1-2
squid-sysvinit - update to 3.5.20-17
squid-migration-script - update to 3.5.20-17
squid - addressed in versions 3.5.20-17, 4.11-4
squid (Red Hat package) - update to 3.5.20-17.el7_9.4
squid-debugsource - update to 4.9-2
squid-debuginfo - update to 4.9-2
squid - update to 4.9-2
squid - addressed in versions 4.10-3.fc30, 4.10-3.fc31

External References

Related Security Bulletins