{"id":"CVE-2019-12525","published":"2019-07-11T18:17:49Z","modified":"2024-08-04T23:24:38Z","title":"An issue was discovered in Squid 3.3.9 through 3.5.28 and 4.x through 4.7","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.23525,"percentile":0.97851,"provenance":"source"},"cwes":[],"references":[{"url":"http://www.squid-cache.org/Versions/v4/changesets/","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/squid-cache/squid/commits/v4","tags":["x_refsource_CONFIRM"]},{"url":"http://www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch","tags":["x_refsource_CONFIRM"]},{"url":"https://usn.ubuntu.com/4065-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/07/msg00018.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://usn.ubuntu.com/4065-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVLDOQSRFNTZ/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.debian.org/security/2019/dsa-4507","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://seclists.org/bugtraq/2019/Aug/42","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00053.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html","tags":["mailing-list","x_refsource_MLIST"]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":19.57}]},"summary":{"text":"A flaw in Squid's Digest authentication handling, in versions 3.3.9 through 3.5.28 and 4.x through 4.7, lies in how the proxy parses the Proxy-Authorization header: when a token such as domain, uri, or qop has a value consisting of a single quote character, Squid fails to check this case and performs a memcpy one byte longer than intended. An attacker able to send requests to a Squid proxy configured to use Digest authentication can craft a Proxy-Authorization header containing such a value to trigger the out-of-bounds copy.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:40:08Z"},"euvd":{"id":"EUVD-2019-4120","exploited":false,"provenance":"source"}}