Skip to content

CVE-2019-12529 An issue was discovered in Squid 2.x through 2.7.STABLE9, 3.x through 3.5.28, and 4.x through 4.7. When Squid is configured to use Basic Authentication, the Proxy-Authorization header is parsed via uu...

MediumCVSS 5.9 EPSS 7.8%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

An issue was discovered in Squid 2.x through 2.7.STABLE9, 3.x through 3.5.28, and 4.x through 4.7. When Squid is configured to use Basic Authentication, the Proxy-Authorization header is parsed via uudecode. uudecode determines how many bytes will be decoded by iterating over the input and checking its table. The length is then used to start decoding the string. There are no checks to ensure that the length it calculates isn't greater than the input buffer. This leads to adjacent memory being decoded as well. An attacker would not be able to retrieve the decoded data unless the Squid maintainer had configured the display of usernames on error pages.

Upgrade path

12 packages: 8 fixed.

PackageAffectedFixed inStatus
alpine/squid(Alpine v3.10) >= 4.0, < 4.8-r0 4.8-r0 Fixed
alpine/squid(Alpine v3.9) >= 4.0, < 4.8-r0 4.8-r0 Fixed
debian/squid(Debian 12) < 4.8-1 4.8-1 Fixed
debian/squid(Debian 13) < 4.8-1 4.8-1 Fixed
debian/squid(Debian 14) < 4.8-1 4.8-1 Fixed
squid-cache squid = 2.7-stable1; = 2.7-stable2; = 2.7-stable3; = 2.7-stable4 +8 more 2.7 Fixed
ubuntu/squid3(Ubuntu 16.04) < 3.5.12-1ubuntu7.8; = 3.3.8-1ubuntu16; = 3.3.8-1ubuntu17; = 3.5.12-1ubuntu6 +8 more 3.5.12-1ubuntu7.8 Fixed
ubuntu/squid3(Ubuntu 18.04) < 3.5.27-1ubuntu1.3; = 3.5.23-5ubuntu1; = 3.5.23-5ubuntu2; = 3.5.27-1ubuntu1 +2 more 3.5.27-1ubuntu1.3 Fixed
Canonical Ubuntu Linux = 12.04; = 16.04; = 18.04; = 19.04 No fix listed Versions listed
debian linux = 8.0; = 9.0; = 10.0 No fix listed Versions listed
fedoraproject fedora = 29 No fix listed Versions listed
openSUSE leap = 15.0; = 15.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/squid(Debian:12) < 4.8-1 4.8-1
debian/squid(Debian:13) < 4.8-1 4.8-1
debian/squid(Debian:14) < 4.8-1 4.8-1
squid-cache squid >= 2.0, < 2.7 2.7
squid-cache squid >= 3.0, <= 3.5.28 No fix listed
squid-cache squid >= 4.0, <= 4.7 No fix listed
squid-cache squid = 2.7-stable1 No fix listed
squid-cache squid = 2.7-stable2 No fix listed
squid-cache squid = 2.7-stable3 No fix listed
squid-cache squid = 2.7-stable4 No fix listed
squid-cache squid = 2.7-stable5 No fix listed
squid-cache squid = 2.7-stable6 No fix listed
squid-cache squid = 2.7-stable7 No fix listed
squid-cache squid = 2.7-stable8 No fix listed
squid-cache squid = 2.7-stable9 No fix listed
debian linux = 8.0 No fix listed
debian linux = 9.0 No fix listed
debian linux = 10.0 No fix listed
fedoraproject fedora = 29 No fix listed
openSUSE leap = 15.0 No fix listed
openSUSE leap = 15.1 No fix listed
Canonical Ubuntu Linux = 12.04 No fix listed
Canonical Ubuntu Linux = 16.04 No fix listed
Canonical Ubuntu Linux = 18.04 No fix listed
Canonical Ubuntu Linux = 19.04 No fix listed
Show 20 more
ProductAffected versionsFixed in
alpine/squid(Alpine:v3.10) >= 4.0, < 4.8-r0 4.8-r0
alpine/squid(Alpine:v3.9) >= 4.0, < 4.8-r0 4.8-r0
ubuntu/squid3(Ubuntu:16.04) < 3.5.12-1ubuntu7.8 3.5.12-1ubuntu7.8
ubuntu/squid3(Ubuntu:16.04) = 3.3.8-1ubuntu16 No fix listed
ubuntu/squid3(Ubuntu:16.04) = 3.3.8-1ubuntu17 No fix listed
ubuntu/squid3(Ubuntu:16.04) = 3.5.12-1ubuntu6 No fix listed
ubuntu/squid3(Ubuntu:16.04) = 3.5.12-1ubuntu7 No fix listed
ubuntu/squid3(Ubuntu:16.04) = 3.5.12-1ubuntu7.1 No fix listed
ubuntu/squid3(Ubuntu:16.04) = 3.5.12-1ubuntu7.2 No fix listed
ubuntu/squid3(Ubuntu:16.04) = 3.5.12-1ubuntu7.3 No fix listed
ubuntu/squid3(Ubuntu:16.04) = 3.5.12-1ubuntu7.4 No fix listed
ubuntu/squid3(Ubuntu:16.04) = 3.5.12-1ubuntu7.5 No fix listed
ubuntu/squid3(Ubuntu:16.04) = 3.5.12-1ubuntu7.6 No fix listed
ubuntu/squid3(Ubuntu:16.04) = 3.5.12-1ubuntu7.7 No fix listed
ubuntu/squid3(Ubuntu:18.04) < 3.5.27-1ubuntu1.3 3.5.27-1ubuntu1.3
ubuntu/squid3(Ubuntu:18.04) = 3.5.23-5ubuntu1 No fix listed
ubuntu/squid3(Ubuntu:18.04) = 3.5.23-5ubuntu2 No fix listed
ubuntu/squid3(Ubuntu:18.04) = 3.5.27-1ubuntu1 No fix listed
ubuntu/squid3(Ubuntu:18.04) = 3.5.27-1ubuntu1.1 No fix listed
ubuntu/squid3(Ubuntu:18.04) = 3.5.27-1ubuntu1.2 No fix listed

References