CVE-2019-12525

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

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

Analysis

No analysis available yet

Remediation

No remediation available yet

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.

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-787

    Out-of-bounds Write

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 4, 2024, 11:24 PM
Reserved
Jun 2, 2019, 12:00 AM
Status
Modified
Published
Jul 11, 2019, 7:15 PM
Modified
Jun 17, 2026, 2:14 AM
Severity
Moderate
Public date
Jul 12, 2019, 12:00 AM