Out-of-bounds read in Squid - CVE-2019-12529
Published: August 29, 2019
Vulnerability details
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition when parsing username in the Proxy-Authorization header during HTTP Basic authentication. A remote attacker can send specially crafted request to the Squid proxy server and retrieve parts of memory contents, if the Squid maintainer had configured the display of usernames on error pages.
Affected software
Red Hat Enterprise Linux for x86_64
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for IBM z Systems
Opensuse
Ubuntu
Fedora
squid (Alpine package)
squid3 (Ubuntu package)
squid (Debian package)
squid (Ubuntu package)
libecap
libecap-devel
squid
How to mitigate CVE-2019-12529
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
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/Versions/v4/changesets/
- http://www.squid-cache.org/Versions/v4/changesets/squid-4-dd46b5417809647f561d8a5e0e74c3aacd235258.patch
- https://github.com/squid-cache/squid/commits/v4
- https://lists.debian.org/debian-lts-announce/2019/07/msg00018.html
- https://usn.ubuntu.com/4065-1/
- https://usn.ubuntu.com/4065-2/
Related Security Bulletins
- Debian update for squid
- OpenSUSE Linux update for squid
- OpenSUSE Linux update for squid
- Out-of-bounds read in squid (Alpine package)
- Red Hat Enterprise Linux 8 update for the squid:4 module
- Anolis OS update for squid:4 (Anolis OS 8.4) module
- Fedora 29 update for squid
- Fedora 29 update for squid
- Ubuntu update for squid, squid3