Skip to content
OpenAdvisories
Unscored CVE-2019-12525 EUVD-2019-4120GHSA-wxh3-97xf-wv5x

An issue was discovered in Squid 3.3.9 through 3.5.28 and 4.x through 4.7. When Squid is configured to use Digest authentication, it parses…

Published Jul 11, 2019 · Updated Aug 4, 2024 · Assigned by mitre

Description

An issue was discovered in Squid 3.3.9 through 3.5.28 and 4.x through 4.7. When Squid is configured to use Digest authentication, it parses the header Proxy-Authorization. It searches for certain tokens such as domain, uri, and qop. Squid checks if this token's value starts with a quote and ends with one. If so, it performs a memcpy of its length minus 2. Squid never checks whether the value is just a single quote (which would satisfy its requirements), leading to a memcpy of its length minus 1.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 squid 4.8-1 —
Debian 13 squid 4.8-1 —
Debian 12 squid 4.8-1 —
Debian 10 squid 4.6-1+deb10u1 DSA-4507-1
Debian 9 squid3 3.5.23-5+deb9u2 DLA-2278-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 8 squid3 3.4.8-6+deb8u8 DLA-1858-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS squid3 3.5.27-1ubuntu1.3 USN-4065-1
Ubuntu 16.04 LTS squid3 3.5.12-1ubuntu7.8 USN-4065-1
ReleasePackageFixed inAdvisory
RHEL 8 libecap +1 1.0.1-2.module+el8.1.0+4044+36416a77 RHSA-2020:2041
RHEL 8 squid 7:4.4-8.module+el8.2.0+6449+6ba3df3e.1 RHSA-2020:2041
RHEL 7 squid +2 7:3.5.20-15.el7_8.1 RHSA-2020:2040

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 libecap +1 1.0.1-2.module_el8.6.0+2741+01592ae8 ALSA-2020:2041

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 libecap 1.0.1-2.module+el8.4.0+404+316a0dc5 RLSA-2020:2041
ReleasePackageFixed inAdvisory
SLES 15 SP1 squid 4.9-5.11.1 SUSE-SU-2019:2975-1
SLES 15 squid 4.9-5.11.1 SUSE-SU-2019:2975-1
SLES 12 SP4 squid 3.5.21-26.17.1 SUSE-SU-2019:2089-1
SLES 12 SP3 squid 3.5.21-26.17.1 SUSE-SU-2019:2089-1
SLES 12 SP2 squid 3.5.21-26.17.1 SUSE-SU-2019:2089-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP4 squid3 3.1.23-8.16.37.12.1 SUSE-SU-2020:14460-1
SLES for SAP 12 SP4 squid 3.5.21-26.17.1 SUSE-SU-2019:2089-1
SLES for SAP 12 SP3 squid 3.5.21-26.17.1 SUSE-SU-2019:2089-1
SLES for SAP 12 SP2 squid 3.5.21-26.17.1 SUSE-SU-2019:2089-1
SUSE OpenStack Cloud Crowbar 8 squid 3.5.21-26.17.1 SUSE-SU-2019:2089-2
SUSE OpenStack Cloud 8 squid 3.5.21-26.17.1 SUSE-SU-2019:2089-1
SUSE OpenStack Cloud 7 squid 3.5.21-26.17.1 SUSE-SU-2019:2089-1
SUSE Linux Enterprise Point of Sale 11 SP3 squid3 3.1.23-8.16.37.12.1 SUSE-SU-2020:14460-1
SUSE HPE Helion OpenStack 8 squid 3.5.21-26.17.1 SUSE-SU-2019:2089-2
SUSE Enterprise Storage 5 squid 3.5.21-26.17.1 SUSE-SU-2019:2089-2, SUSE-SU-2019:2089-1
SUSE Enterprise Storage 4 squid 3.5.21-26.17.1 SUSE-SU-2019:2089-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed squid 4.16-1.5 openSUSE-SU-2024:11403-1
openSUSE Leap 15.1 squid 4.9-lp151.2.7.1 openSUSE-SU-2019:2541-1
openSUSE Leap 15.0 squid 4.9-lp150.13.1 openSUSE-SU-2019:2540-1
ReleasePackageFixed inAdvisory
Alpine v3.10 squid 4.8-r0 —
Alpine v3.9 squid 4.8-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 squid +2 7:3.5.20-15.amzn2.1 ALAS2-2020-1448

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 libecap +1 1.0.1-2.module+el8.1.0+5405+03b963f4 ELSA-2020-2041
Oracle Linux 8 squid 7:4.4-8.module+el8.2.0+7611+d512f060.1 ELSA-2020-2041
Oracle Linux 7 squid +2 7:3.5.20-15.el7_8.1 ELSA-2020-2040

Advisories 19

References