CVE-2019-12529

EUVD-2019-4124
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.9 MEDIUM
NETWORK
HIGH
NONE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 94%
Affected Products (NVD)
VendorProductVersion
squid-cachesquid
2.0 ≤
𝑥
< 2.7
squid-cachesquid
3.0 ≤
𝑥
≤ 3.5.28
squid-cachesquid
4.0 ≤
𝑥
≤ 4.7
squid-cachesquid
2.7:stable1
squid-cachesquid
2.7:stable2
squid-cachesquid
2.7:stable3
squid-cachesquid
2.7:stable4
squid-cachesquid
2.7:stable5
squid-cachesquid
2.7:stable6
squid-cachesquid
2.7:stable7
squid-cachesquid
2.7:stable8
squid-cachesquid
2.7:stable9
debiandebian_linux
8.0
debiandebian_linux
9.0
debiandebian_linux
10.0
opensuseleap
15.0
opensuseleap
15.1
canonicalubuntu_linux
12.04
canonicalubuntu_linux
16.04
canonicalubuntu_linux
18.04
canonicalubuntu_linux
19.04
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
squid
bookworm
5.7-2+deb12u2
fixed
bookworm (security)
5.7-2+deb12u2
fixed
bullseye
4.13-10+deb11u3
fixed
bullseye (security)
4.13-10+deb11u3
fixed
sid
6.12-1
fixed
trixie
6.12-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
squid
bionic
dne
cosmic
ignored
disco
Fixed 4.4-1ubuntu2.2
released
trusty
dne
xenial
dne
squid3
bionic
Fixed 3.5.27-1ubuntu1.3
released
cosmic
dne
disco
dne
trusty
dne
xenial
Fixed 3.5.12-1ubuntu7.8
released
References