PT-2019-5177 · Squid+7 · Squid+8

Published

2019-07-11

·

Updated

2024-06-15

·

CVE-2019-12529

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Squid versions 2.x through 2.7.STABLE9 Squid versions 3.x through 3.5.28 Squid versions 4.x through 4.7
Description The issue is related to the lack of protection for service data in the Squid proxy server. When Squid is configured to use Basic Authentication, the Proxy-Authorization header is parsed via uudecode. The uudecode function determines the number of bytes to be decoded by iterating over the input and checking its table. However, there are no checks to ensure that the calculated length is not greater than the input buffer, leading 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.
Recommendations For Squid versions 2.x through 2.7.STABLE9, consider disabling the use of Basic Authentication until a patch is available. For Squid versions 3.x through 3.5.28, consider disabling the use of Basic Authentication until a patch is available. For Squid versions 4.x through 4.7, consider disabling the use of Basic Authentication until a patch is available. As a temporary workaround, consider restricting access to the Proxy-Authorization header to minimize the risk of exploitation.

Fix

Out of bounds Read

Information Disclosure

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2020:4743
ALT-PU-2019-2264
ALT-PU-2019-2271
BDU:2020-01848
CESA-2020_4743
CVE-2019-12529
DLA-1858-1
DLA-2278-1
DLA-2278-2
DLA-2278-3
DSA-4507-1
MGASA-2019-0265
MGASA-2019-0266
OPENSUSE-SU-2019:2540-1
OPENSUSE-SU-2019:2541-1
OPENSUSE-SU-2019_2540-1
OPENSUSE-SU-2019_2541-1
OPENSUSE-SU-2024:11403-1
RHSA-2020:4743
RHSA-2020_4743
RLSA-2020:4743
SUSE-SU-2019:2089-1
SUSE-SU-2019:2089-2
SUSE-SU-2019:2975-1
SUSE-SU-2020:14460-1
USN-4065-1
USN-4065-2

Affected Products

Alt Linux
Almalinux
Centos
Red Hat
Rocky Linux
Squid
Squid Cache
Suse
Ubuntu