| Name | CVE-2015-5400 | 
| Description | Squid before 3.5.6 does not properly handle CONNECT method peer responses when configured with cache_peer, which allows remote attackers to bypass intended restrictions and gain access to a backend proxy via a CONNECT request. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
| References | DLA-286-1, DSA-3327-1 | 
| Debian Bugs | 793128 | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| squid (PTS) | bullseye | 4.13-10+deb11u3 | fixed | 
|  | bullseye (security) | 4.13-10+deb11u5 | fixed | 
|  | bookworm | 5.7-2+deb12u3 | fixed | 
|  | bookworm (security) | 5.7-2+deb12u4 | fixed | 
|  | trixie | 6.13-2 | fixed | 
|  | trixie (security) | 6.13-2+deb13u1 | fixed | 
|  | forky, sid | 7.2-2 | fixed | 
The information below is based on the following data on fixed versions.
Notes
[wheezy] - squid <no-dsa> (Fix is hard to backport and default configuration is not affected)
[squeeze] - squid <no-dsa> (Fix is hard to backport and default configuration is not affected)
http://www.squid-cache.org/Versions/v3/3.5/changesets/squid-3.5-13856.patch (3.5)
http://www.squid-cache.org/Versions/v3/3.4/changesets/squid-3.4-13225.patch (3.4)
http://www.squid-cache.org/Advisories/SQUID-2015_2.txt
https://www.openwall.com/lists/oss-security/2015/07/06/8
In squeeze's squid3 the code is structured differently but the bug still appears to be present.
For squid 2.x all versions are affected, cf. comment by upstream in
https://bugs.debian.org/793128#12