Heap-based buffer overflow in Squid - CVE-2019-12527
Published: July 15, 2019
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 checking Basic Authentication with HttpHeader::getAuth. A remote attacker can send an overly long authentication string, trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Arch Linux
Red Hat Enterprise Linux for x86_64
Debian Linux
Opensuse
Ubuntu
Fedora
squid3 (Ubuntu package)
squid (Debian package)
squid (Ubuntu package)
squid
How to mitigate CVE-2019-12527
squid3 (Ubuntu package) - addressed in versions 3.5.12-1ubuntu7.8, 3.5.27-1ubuntu1.3
squid (Debian package) - update to 4.6-1+deb10u1
squid (Ubuntu package) - update to 4.4-1ubuntu2.2
squid - addressed in versions 4.8-1.fc29, 4.8-2.fc29