Vulnerabilities · 2019 · Squid-cache
CVE-2019-12525
Squid-cache Squid vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Squid, Debian Linux, Leap, Fedora, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Squid-cache Squid runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.squid-cache.org/Versions/v4/changesets/ · Vendor Advisory
- www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f32 · Patch
- github.com/squid-cache/squid/commits/v4 · Patch
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00053.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2019/07/msg00018.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2020/07/msg00009.html · Third Party Advisory
- seclists.org/bugtraq/2019/Aug/42 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2019-12525
- cve.org/CVERecord?id=CVE-2019-12525
More vulnerabilities in Squid-cache products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.