Name | CVE-2019-12525 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1858-1, DLA-2278-1, DSA-4507-1, ELA-271-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
squid (PTS) | buster (security), buster, buster (lts) | 4.6-1+deb10u10 | fixed |
bullseye (security), bullseye | 4.13-10+deb11u3 | fixed | |
bookworm (security), bookworm | 5.7-2+deb12u2 | fixed | |
sid, trixie | 6.12-1 | fixed | |
squid3 (PTS) | jessie, jessie (lts) | 3.5.23-5+deb8u7 | fixed |
stretch (security) | 3.5.23-5+deb9u7 | fixed | |
stretch (lts), stretch | 3.5.23-5+deb9u10 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
squid | source | buster | 4.6-1+deb10u1 | DSA-4507-1 | ||
squid | source | (unstable) | 4.8-1 | |||
squid3 | source | jessie | 3.5.23-5+deb8u1 | ELA-271-1 | ||
squid3 | source | stretch | 3.5.23-5+deb9u2 | DLA-2278-1 | ||
squid3 | source | (unstable) | (unfixed) |
http://www.squid-cache.org/Advisories/SQUID-2019_3.txt
Squid 4: http://www.squid-cache.org/Versions/v4/changesets/squid-4-409956536647b3a05ee1e367424a24ae6b8f13fd.patch
Squid 3.5: http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-ec0d0f39cf28da14eead0ba5e777e95855bc2f67.patch