CVE-2019-12525 in the critical feed json
An issue was discovered in Squid 3.3.9 through 3.5.28 and 4.x through 4.7.
published 2019-07-11 7 y ago modified 2026-06-17 4 mo ago also EUVD-2019-4120
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 24.4%
- EPSS 24.4% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- squid Debian 14, Debian 13, Debian 12 4.8-1
debian advisories DEBIAN-CVE-2019-12525
- squid3 Ubuntu 16.04 LTS 3.5.12-1ubuntu7.8
- squid3 Ubuntu 18.04 LTS 3.5.27-1ubuntu1.3
ubuntu advisories UBUNTU-CVE-2019-12525
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- squid RHEL 7 7:3.5.20-15.el7_8.1
- squid-sysvinit RHEL 7 7:3.5.20-15.el7_8.1
- squid-migration-script RHEL 7 7:3.5.20-15.el7_8.1
- squid RHEL 8 7:4.4-8.module+el8.2.0+6449+6ba3df3e.1
- libecap RHEL 8 1.0.1-2.module+el8.1.0+4044+36416a77
red hat advisories RHSA-2020:2040RHSA-2020:2041
- squid3 SLES 11 SP4-LTSS, SLE Point of Sale 11 SP3 3.1.23-8.16.37.12.1
- squid SLE Module for Server Applications 15 SP1, SLE Module for Server Applications 15 4.9-5.11.1
- squid SLES 12 SP4, SLES 12 SP3-BCL, SLES 12 SP2-BCL +11 more 3.5.21-26.17.1
suse advisories SUSE-SU-2020:14460-1SUSE-SU-2019:2975-1SUSE-SU-2019:2089-1SUSE-SU-2019:2089-2
- squid openSUSE Tumbleweed 4.16-1.5
- squid openSUSE Leap 15.1 4.9-lp151.2.7.1
- squid openSUSE Leap 15.0 4.9-lp150.13.1
opensuse advisories openSUSE-SU-2024:11403-1openSUSE-SU-2019:2541-1openSUSE-SU-2019:2540-1
- libecap AlmaLinux 8 1.0.1-2.module_el8.6.0+2741+01592ae8
almalinux advisories ALSA-2020:2041
- libecap Rocky Linux 8 1.0.1-2.module+el8.4.0+404+316a0dc5
rocky linux advisories RLSA-2020:2041
- squid Alpine 3.10, Alpine 3.9 4.8-r0
alpine advisories ALPINE-CVE-2019-12525
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-12525 updated cvss 4.3
squid: parsing of header Proxy-Authentication leads to memory corruption
-
Red Hat Enterprise Linux 6 squid34affected: workaround, no fix planned “Remove 'auth_param digest ...' configuration settings from squid.conf.”
-
Red Hat Enterprise Linux AppStream (v. 8) squid 4.4-8.module+el8.2.0+6449+6ba3df3e.1, libecap 1.0.1-2.module+el8.1.0+4044+36416a77fixed: vendor fix “Remove 'auth_param digest ...' configuration settings from squid.conf.” RHSA-2020:2041
-
Red Hat Enterprise Linux Server (v. 7) squid 3.5.20-15.el7_8.1, squid-migration-script 3.5.20-15.el7_8.1 Red Hat Enterprise Linux Server Optional (v. 7) squid-sysvinit 3.5.20-15.el7_8.1 Red Hat Enterprise Linux Workstation (v. 7) squid 3.5.20-15.el7_8.1, squid-migration-script 3.5.20-15.el7_8.1 Red Hat Enterprise Linux Workstation Optional (v. 7) squid-sysvinit 3.5.20-15.el7_8.1fixed: vendor fix “Remove 'auth_param digest ...' configuration settings from squid.conf.” RHSA-2020:2040
-
Red Hat Enterprise Linux 5 squid Red Hat Enterprise Linux 6 squidnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
24.40% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
github.com
/squid-cache/squid/commits/v4
patch, third-party-advisory
-
squid-cache.org
/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch
patch, vendor-advisory
-
usn.ubuntu.com
/4065-1/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/4065-2/
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVLDOQSRFNTZ/
vendor-advisory
-
debian.org
/security/2019/dsa-4507
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-11/msg00053.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-11/msg00056.html
vendor-advisory, mailing-list, third-party-advisory
-
squid-cache.org
/Versions/v4/changesets/
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2019/07/msg00018.html
mailing-list, third-party-advisory
-
seclists.org
/bugtraq/2019/Aug/42
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/07/msg00009.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2019-12525
- NVD CVE-2019-12525
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.