Out-of-bounds read in Squid - CVE-2019-12854
Published: August 29, 2019
Vulnerability details
The vulnerability allows a remote attacker to perform denial of service (DoS) attack.
The vulnerability exists due to a boundary condition when terminating strings in cachemgr.cgi. A remote attacker can a specially crafted request to the affected proxy server, trigger out-of-bounds read error and crash the CGI process, denying access to all users on systems with memory access protections.
Affected software
squid3 (Ubuntu package)
squid (Debian package)
squid (Ubuntu package)
libecap
libecap-devel
squid
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Anolis OS
Opensuse
Fedora
How to mitigate CVE-2019-12854
squid3 (Ubuntu package) - addressed in versions 3.5.12-1ubuntu7.9, 3.5.27-1ubuntu1.4
squid (Debian package) - update to 4.6-1+deb10u1
squid (Ubuntu package) - addressed in versions 4.4-1ubuntu2.3, 4.8-1ubuntu2.1
libecap - update to 1.0.1-2
libecap-devel - update to 1.0.1-2
squid - addressed in versions 4.8-1.fc29, 4.8-2.fc29
squid - update to 4.11-4
External References
- http://www.squid-cache.org/Advisories/SQUID-2019_1.txt
- http://www.squid-cache.org/Versions/v4/changesets/squid-4-2981a957716c61ff7e21eee1d7d6eb5a237e466d.patch
- https://bugs.squid-cache.org/show_bug.cgi?id=4937
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVLDOQSRFNTZ/
- https://seclists.org/bugtraq/2019/Aug/42