Vulnerability CVE-2019-12529: Information
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.
Severity: MEDIUM (5.9) Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Fixed packages
Package name | Branch | Fixed in version | Version from repository | Errata ID | Task # | State |
---|---|---|---|---|---|---|
squid | sisyphus | 4.8-alt1 | 6.8-alt1 | ALT-PU-2019-2264-1 | 234531 | Fixed |
squid | p10 | 4.8-alt1 | 6.6-alt1 | ALT-PU-2019-2264-1 | 234531 | Fixed |
squid | p9 | 4.8-alt1 | 4.13-alt1 | ALT-PU-2019-2271-1 | 234609 | Fixed |
squid | p8 | 3.5.28-alt1 | 3.5.28-alt1 | ALT-PU-2019-2542-1 | 236485 | Fixed |
squid | c10f1 | 4.8-alt1 | 6.6-alt1 | ALT-PU-2019-2264-1 | 234531 | Fixed |
squid | c9f2 | 4.8-alt1 | 4.15-alt1 | ALT-PU-2019-2271-1 | 234609 | Fixed |
squid | p11 | 4.8-alt1 | 6.8-alt1 | ALT-PU-2019-2264-1 | 234531 | Fixed |
References to Advisories, Solutions, and Tools
Hyperlink | Resource |
---|---|
http://www.squid-cache.org/Versions/v4/changesets/ |
|
https://github.com/squid-cache/squid/commits/v4 |
|
http://www.squid-cache.org/Versions/v4/changesets/squid-4-dd46b5417809647f561d8a5e0e74c3aacd235258.patch |
|
USN-4065-1 |
|
[debian-lts-announce] 20190720 [SECURITY] [DLA 1858-1] squid3 security update |
|
USN-4065-2 |
|
DSA-4507 |
|
20190825 [SECURITY] [DSA 4507-1] squid security update |
|
openSUSE-SU-2019:2541 |
|
openSUSE-SU-2019:2540 |
|
[debian-lts-announce] 20200710 [SECURITY] [DLA 2278-1] squid3 security update |
|
FEDORA-2019-cb50bcc189 |