cve.bz

CVE-2019-12525 Out-of-bounds Write

9.8 criticalEPSS 24%Fix available

Critical (9.8). EPSS 24% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
24% (unchanged from 24% a week ago; 24% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-12525 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-12525?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-12525?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-12525 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
squid-cache:squidfrom 3.3.9 through 3.5.28
squid-cache:squidfrom 4.0 through 4.7
debian:debian_linux8.0
debian:debian_linux9.0
debian:debian_linux10.0
opensuse:leap15.0
opensuse:leap15.1
fedoraproject:fedora29
canonical:ubuntu_linux12.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
canonical:ubuntu_linux19.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8squid33.4.8-6+deb8u8DLA-1858-1
Debian9squid33.5.23-5+deb9u2DLA-2278-1
Debian10squid4.6-1+deb10u1DSA-4507-1
Debian12, 13, 14squid4.8-1DEBIAN-CVE-2019-12525
Ubuntu16.04:LTSsquid33.5.12-1ubuntu7.8UBUNTU-CVE-2019-12525 USN-4065-1
Ubuntu18.04:LTSsquid33.5.27-1ubuntu1.3UBUNTU-CVE-2019-12525 USN-4065-1
Red Hatenterprise_linux:7::server, enterprise_linux:7::workstationsquid, squid-sysvinit, squid-debuginfo and 1 more7:3.5.20-15.el7_8.1RHSA-2020:2040
Red Hatenterprise_linux:8::appstreamlibecap, libecap-devel, libecap-debuginfo and 1 more0:1.0.1-2.module+el8.1.0+4044+36416a77RHSA-2020:2041
Red Hatenterprise_linux:8::appstreamsquid, squid-debuginfo, squid-debugsource7:4.4-8.module+el8.2.0+6449+6ba3df3e.1RHSA-2020:2041
SUSEEnterprise Storage 4, Enterprise Storage 5, Linux Enterprise Server 12 SP2-BCL and 9 moresquid3.5.21-26.17.1SUSE-SU-2019:2089-1
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, OpenStack Cloud Crowbar 8squid3.5.21-26.17.1SUSE-SU-2019:2089-2
SUSELinux Enterprise Module for Server Applications 15, Linux Enterprise Module for Server Applications 15 SP1squid4.9-5.11.1SUSE-SU-2019:2975-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP4-LTSSsquid33.1.23-8.16.37.12.1SUSE-SU-2020:14460-1
openSUSELeap 15.0squid4.9-lp150.13.1openSUSE-SU-2019:2540-1
openSUSELeap 15.1squid4.9-lp151.2.7.1openSUSE-SU-2019:2541-1
openSUSETumbleweedsquid4.16-1.5openSUSE-SU-2024:11403-1
AlmaLinux8libecap, libecap-devel1.0.1-2.module_el8.6.0+2741+01592ae8ALSA-2020:2041
Rocky Linux8libecap0:1.0.1-2.module+el8.4.0+404+316a0dc5RLSA-2020:2041
Alpinev3.9, v3.10squid4.8-r0ALPINE-CVE-2019-12525

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Remove 'auth_param digest ...' configuration settings from squid.conf.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7squid-7:3.5.20-15.el7_8.1Fixed 2020-05-06RHSA-2020:2040
Red Hat Enterprise Linux 8squid:4-8020020200430095908.4cda2c84Fixed 2020-05-06RHSA-2020:2041
Red Hat Enterprise Linux 5squidNot affected
Red Hat Enterprise Linux 6squidNot affected
Red Hat Enterprise Linux 6squid34Out of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-12525.

References

Check your stackJSON