{"id":"UBUNTU-CVE-2019-12525","details":"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.","modified":"2026-02-04T04:15:58.122248Z","published":"2019-07-11T00:00:00Z","related":["USN-4065-1","USN-4065-2"],"upstream":["CVE-2019-12525"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-12525"},{"type":"REPORT","url":"http://www.squid-cache.org/Advisories/SQUID-2019_3.txt"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4065-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-4065-2"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2019-12525"}],"affected":[{"package":{"name":"squid3","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/squid3@3.5.12-1ubuntu7.8?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.12-1ubuntu7.8"}]}],"versions":["3.3.8-1ubuntu16","3.3.8-1ubuntu17","3.5.12-1ubuntu6","3.5.12-1ubuntu7","3.5.12-1ubuntu7.1","3.5.12-1ubuntu7.2","3.5.12-1ubuntu7.3","3.5.12-1ubuntu7.4","3.5.12-1ubuntu7.5","3.5.12-1ubuntu7.6","3.5.12-1ubuntu7.7"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"squid","binary_version":"3.5.12-1ubuntu7.8"},{"binary_version":"3.5.12-1ubuntu7.8","binary_name":"squid-cgi"},{"binary_name":"squid-common","binary_version":"3.5.12-1ubuntu7.8"},{"binary_name":"squid-purge","binary_version":"3.5.12-1ubuntu7.8"},{"binary_version":"3.5.12-1ubuntu7.8","binary_name":"squid3"},{"binary_name":"squidclient","binary_version":"3.5.12-1ubuntu7.8"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12525.json"}},{"package":{"name":"squid3","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/squid3@3.5.27-1ubuntu1.3?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.27-1ubuntu1.3"}]}],"versions":["3.5.23-5ubuntu1","3.5.23-5ubuntu2","3.5.27-1ubuntu1","3.5.27-1ubuntu1.1","3.5.27-1ubuntu1.2"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"squid","binary_version":"3.5.27-1ubuntu1.3"},{"binary_name":"squid-cgi","binary_version":"3.5.27-1ubuntu1.3"},{"binary_name":"squid-common","binary_version":"3.5.27-1ubuntu1.3"},{"binary_name":"squid-purge","binary_version":"3.5.27-1ubuntu1.3"},{"binary_version":"3.5.27-1ubuntu1.3","binary_name":"squid3"},{"binary_name":"squidclient","binary_version":"3.5.27-1ubuntu1.3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2019/UBUNTU-CVE-2019-12525.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}