CVE-2024-23638

NameCVE-2024-23638
DescriptionSquid is a caching proxy for the Web. Due to an expired pointer reference bug, Squid prior to version 6.6 is vulnerable to a Denial of Service attack against Cache Manager error responses. This problem allows a trusted client to perform Denial of Service when generating error pages for Client Manager reports. Squid older than 5.0.5 have not been tested and should be assumed to be vulnerable. All Squid-5.x up to and including 5.9 are vulnerable. All Squid-6.x up to and including 6.5 are vulnerable. This bug is fixed by Squid version 6.6. In addition, patches addressing this problem for the stable releases can be found in Squid's patch archives. As a workaround, prevent access to Cache Manager using Squid's main access control: `http_access deny manager`.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5637-1, ELA-1037-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
squid (PTS)buster (security), buster, buster (lts)4.6-1+deb10u10vulnerable
bullseye (security), bullseye4.13-10+deb11u3fixed
bookworm (security), bookworm5.7-2+deb12u2fixed
sid, trixie6.12-1fixed
squid3 (PTS)jessie, jessie (lts)3.5.23-5+deb8u7fixed
stretch (security)3.5.23-5+deb9u7vulnerable
stretch (lts), stretch3.5.23-5+deb9u10fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
squidsourcebullseye4.13-10+deb11u3DSA-5637-1
squidsourcebookworm5.7-2+deb12u1DSA-5637-1
squidsource(unstable)6.6-1
squid3sourcejessie3.5.23-5+deb8u7ELA-1037-1
squid3sourcestretch3.5.23-5+deb9u10ELA-1037-1

Notes

https://github.com/squid-cache/squid/security/advisories/GHSA-j49p-553x-48rx
https://megamansec.github.io/Squid-Security-Audit/stream-assert.html
https://github.com/squid-cache/squid/commit/290ae202883ac28a48867079c2fb34c40efd382b (SQUID_6_6)
http://www.squid-cache.org/Versions/v5/SQUID-2023_11.patch
http://www.squid-cache.org/Versions/v6/SQUID-2023_11.patch

Search for package or bug name: Reporting problems