CVE-2019-12527
squid: heap-based buffer overflow in HttpHeader::getAuth
Severity
ImportantRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · July 12, 2019
Updated · November 22, 2025
Description
A flaw was discovered in Squid versions 4.0.23 through 4.7. When checking Basic Authentication with HttpHeader::getAuth, Squid uses a global buffer to store the decoded data but does not check that the decoded length is not greater than the buffer. This flaw leads to a heap-based buffer overflow with user-controlled data.
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
Deny ftp:// protocol URLs being proxied and Cache Manager report access to all clients:
acl FTP proto FTP
http_access deny FTP
http_access deny manager
CVSS / CWE
CVSS 3.0 · 7.5CVSS:3.0/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-122 · Heap-based Buffer Overflow