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.
References
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Configuration 4 (hide)
|
Configuration 5 (hide)
|
Information
Published : 2019-07-11 12:15
Updated : 2022-04-26 13:18
NVD link : CVE-2019-12525
Mitre link : CVE-2019-12525
JSON object : View
CWE
CWE-787
Out-of-bounds Write
Products Affected
fedoraproject
- fedora
canonical
- ubuntu_linux
opensuse
- leap
debian
- debian_linux
squid-cache
- squid