Vulnerability 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.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Squid-Cache | Squid | >= 3.3.9, <= 3.5.28 |
| Debian | Debian Linux | 8.0 |
| Opensuse | Leap | 15.0 |
| Fedoraproject | Fedora | 29 |
| Canonical | Ubuntu Linux | 12.04 |
Related Weaknesses (CWE)
References
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00053.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.htmlMailing ListThird Party Advisory
- http://www.squid-cache.org/Versions/v4/changesets/Vendor Advisory
- http://www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32PatchVendor Advisory
- https://github.com/squid-cache/squid/commits/v4PatchThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2019/07/msg00018.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/07/msg00009.htmlMailing ListThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://seclists.org/bugtraq/2019/Aug/42Mailing ListThird Party Advisory
- https://usn.ubuntu.com/4065-1/Third Party Advisory
- https://usn.ubuntu.com/4065-2/Third Party Advisory
- https://www.debian.org/security/2019/dsa-4507Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00053.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.htmlMailing ListThird Party Advisory
- http://www.squid-cache.org/Versions/v4/changesets/Vendor Advisory
FAQ
What is CVE-2019-12525?
CVE-2019-12525 is a vulnerability with a CVSS score of 9.8 (CRITICAL). 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 toke...
How severe is CVE-2019-12525?
CVE-2019-12525 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2019-12525?
Check the references section above for vendor advisories and patch information. Affected products include: Squid-Cache Squid, Debian Debian Linux, Opensuse Leap, Fedoraproject Fedora, Canonical Ubuntu Linux.