Buffer overflow in Squid - CVE-2019-12525

 

Buffer overflow in Squid - CVE-2019-12525

Published: August 28, 2019 / Updated: August 29, 2019


Vulnerability identifier: #VU20445
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-12525
CWE-ID: CWE-119
Exploitation vector: Adjecent network
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input passed via the Proxy-Authorization header when Squid is configured to use HTTP Digest authentication . A remote attacker can send specially crafted HTTP request to the proxy server and perform denial of service attack.


Affected software

Squid
Amazon Linux AMI
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
CentOS
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Opensuse
Ubuntu
Fedora
squid (Red Hat package)
squid (Alpine package)
squid3 (Ubuntu package)
squid (Debian package)
squid (Ubuntu package)
squid
squid-migration-script
squid-sysvinit

How to mitigate CVE-2019-12525

Install updates from vendor's website.

Squid - update to 4.8
squid (Red Hat package) - update to 3.5.20-15.el7_8.1
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 - update to 3.5.20-17
squid-migration-script - update to 3.5.20-17
squid-sysvinit - update to 3.5.20-17
squid - addressed in versions 4.8-1.fc29, 4.8-2.fc29

External References

Related Security Bulletins