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 isnt 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.
The product reads data past the end, or before the beginning, of the intended buffer.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Squid | Squid-cache | 2.0 (including) | 2.7 (excluding) |
Squid | Squid-cache | 3.0 (including) | 3.5.28 (including) |
Squid | Squid-cache | 4.0 (including) | 4.7 (including) |
Squid | Squid-cache | 2.7-stable1 (including) | 2.7-stable1 (including) |
Squid | Squid-cache | 2.7-stable2 (including) | 2.7-stable2 (including) |
Squid | Squid-cache | 2.7-stable3 (including) | 2.7-stable3 (including) |
Squid | Squid-cache | 2.7-stable4 (including) | 2.7-stable4 (including) |
Squid | Squid-cache | 2.7-stable5 (including) | 2.7-stable5 (including) |
Squid | Squid-cache | 2.7-stable6 (including) | 2.7-stable6 (including) |
Squid | Squid-cache | 2.7-stable7 (including) | 2.7-stable7 (including) |
Squid | Squid-cache | 2.7-stable8 (including) | 2.7-stable8 (including) |
Squid | Squid-cache | 2.7-stable9 (including) | 2.7-stable9 (including) |
Red Hat Enterprise Linux 8 | RedHat | squid:4-8030020200828070549.30b713e6 | * |
Squid | Ubuntu | cosmic | * |
Squid | Ubuntu | devel | * |
Squid | Ubuntu | disco | * |
Squid | Ubuntu | trusty | * |
Squid | Ubuntu | upstream | * |
Squid3 | Ubuntu | bionic | * |
Squid3 | Ubuntu | upstream | * |
Squid3 | Ubuntu | xenial | * |