CVE Database›Document archive›CVE-2019-12525

CVE-2019-12525

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

Loading…

Severity

Moderate

Red Hat Product Security

4.3

CVSS 3.0

Review impact separately from score.

Published · July 12, 2019

Updated · January 8, 2026

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

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

CVSS / CWE

CVSS 3.0 · 4.3
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer