{"schemaVersion":3,"id":"CVE-2019-12525","aliases":["ALPINE-CVE-2019-12525","UBUNTU-CVE-2019-12525","DEBIAN-CVE-2019-12525"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-07-11T18:17:49.000Z","modified":"2024-08-04T23:24:38.574Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true}]},"epss":{"probability":0.24401,"percentile":0.97853,"severity":"high","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.24401},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.24401,"percentile":0.97853}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.24401,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.24401,"percentile":0.97853}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-787","name":"Out-of-bounds Write","description":"The product writes data past the end, or before the beginning, of the intended buffer.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/787.html"}],"affected":[{"vendor":"alpine","product":"squid","name":"squid","label":"squid","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/squid","purlType":"apk","versions":[{"text":"≥ 3.3.9, < 4.8-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.3.9, < 4.8-r0","eol":null,"hubHref":null},{"vendor":"canonical","product":"ubuntu_linux","name":"ubuntu linux","label":"ubuntu_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"12.04","noFixRecorded":false,"fixedIn":null},{"text":"16.04","noFixRecorded":false,"fixedIn":null},{"text":"18.04","noFixRecorded":false,"fixedIn":null},{"text":"19.04","noFixRecorded":false,"fixedIn":null}],"versionsText":"12.04 | 16.04 | 18.04 | 19.04","eol":{"isEol":true,"eolDate":"2017-04-28T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"12.04","label":"12.04 'Precise Pangolin' (LTS)","eolFrom":"2017-04-28T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"12.04.5"},"product":{"name":"ubuntu","label":"Ubuntu","category":"os"}},"hubHref":"/vendor/canonical/ubuntu_linux"},{"vendor":"debian","product":"squid","name":"squid","label":"squid","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/squid","purlType":"deb","versions":[{"text":"< 4.8-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.8-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"squid3","name":"squid3","label":"squid3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/squid3","purlType":"deb","versions":[{"text":"< 3.5.12-1ubuntu7.8","noFixRecorded":false,"fixedIn":null},{"text":"< 3.5.27-1ubuntu1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.5.12-1ubuntu7.8 | < 3.5.27-1ubuntu1.3","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0 | 10.0","eol":{"isEol":true,"eolDate":"2020-06-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Jessie)","eolFrom":"2020-06-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":"8.11"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"29","noFixRecorded":false,"fixedIn":null}],"versionsText":"29","eol":{"isEol":true,"eolDate":"2019-11-26T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"29","label":"29","eolFrom":"2019-11-26T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.0","noFixRecorded":false,"fixedIn":null},{"text":"15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.0 | 15.1","eol":{"isEol":true,"eolDate":"2019-12-03T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.0","label":"Leap 15.0","eolFrom":"2019-12-03T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"},{"vendor":"squid-cache","product":"squid","name":"squid","label":"squid","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.3.9, ≤ 3.5.28","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.0, ≤ 4.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.3.9, ≤ 3.5.28 | ≥ 4.0, ≤ 4.7","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"squid","label":"Squid","category":"server-app"}},"hubHref":"/vendor/squid-cache/squid"}],"affectedCount":8,"eol":{"hasEol":true,"count":4},"references":[{"url":"http://www.squid-cache.org/Versions/v4/changesets/","label":"www.squid-cache.org/Versions/v4/changesets/","hostname":"www.squid-cache.org","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://github.com/squid-cache/squid/commits/v4","label":"github.com/squid-cache/squid/commits/v4","hostname":"github.com","tags":["X Refsource CONFIRM","Patch","Third Party Advisory"]},{"url":"http://www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch","label":"www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch","hostname":"www.squid-cache.org","tags":["X Refsource CONFIRM","Patch","Vendor Advisory"]},{"url":"https://usn.ubuntu.com/4065-1/","label":"usn.ubuntu.com/4065-1/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/07/msg00018.html","label":"lists.debian.org/debian-lts-announce/2019/07/msg00018.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://usn.ubuntu.com/4065-2/","label":"usn.ubuntu.com/4065-2/","hostname":"usn.ubuntu.com","tags":["Vendor Advisory","X Refsource UBUNTU","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVLDOQSRFNTZ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://www.debian.org/security/2019/dsa-4507","label":"www.debian.org/security/2019/dsa-4507","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"https://seclists.org/bugtraq/2019/Aug/42","label":"seclists.org/bugtraq/2019/Aug/42","hostname":"seclists.org","tags":["Mailing List","X Refsource BUGTRAQ","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00053.html","label":"lists.opensuse.org/opensuse-security-announce/2019-11/msg00053.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.html","label":"lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html","label":"lists.debian.org/debian-lts-announce/2020/07/msg00009.html","hostname":"lists.debian.org","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-12525","label":"security.alpinelinux.org/vuln/CVE-2019-12525","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-12525","label":"ubuntu.com/security/CVE-2019-12525","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"http://www.squid-cache.org/Advisories/SQUID-2019_3.txt","label":"www.squid-cache.org/Advisories/SQUID-2019_3.txt","hostname":"www.squid-cache.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-4065-1","label":"ubuntu.com/security/notices/USN-4065-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/notices/USN-4065-2","label":"ubuntu.com/security/notices/USN-4065-2","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-12525","label":"www.cve.org/CVERecord?id=CVE-2019-12525","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-12525","label":"security-tracker.debian.org/tracker/CVE-2019-12525","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-1858-1","DLA-2278-1","DSA-4507-1","MGASA-2019-0265","MGASA-2019-0266","OPENSUSE-SU-2019:2540-1","OPENSUSE-SU-2019:2541-1","OPENSUSE-SU-2024:11403-1","RHSA-2020:2040","RHSA-2020:2041","SUSE-SU-2019:2089-1","SUSE-SU-2019:2089-2","SUSE-SU-2019:2975-1","SUSE-SU-2020:14460-1","USN-4065-1"],"duplicates":[],"related":["OPENSUSE-SU-2019:2540-1","OPENSUSE-SU-2019:2541-1","OPENSUSE-SU-2024:11403-1","SUSE-SU-2019:2089-1","SUSE-SU-2019:2089-2","SUSE-SU-2019:2975-1","SUSE-SU-2020:14460-1","USN-4065-1"]},"timeline":[{"kind":"published","date":"2019-07-11T18:17:49.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T23:24:38.574Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T04:40:34.908Z","stale":false,"partial":false}}