CVE-2019-12525

squid: parsing of header Proxy-Authentication leads to memory corruption

Published Jul 11, 2019 CVSS 3.1 · 9.8 Critical EPSS 24.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-1858-1 squid3 security update
Debian DLA Debian DLA DLA-2278-1 squid3 security update
Debian DSA Debian DSA DSA-4507-1 squid security update
Ubuntu USN Ubuntu USN USN-4065-1 Squid vulnerabilities
Ubuntu USN Ubuntu USN USN-4065-2 Squid vulnerabilities
History

No history.