| Name | CVE-2023-5824 |
| Description | A flaw was found in Squid. The limits applied for validation of HTTP response headers are applied before caching. However, Squid may grow a cached HTTP response header beyond the configured maximum size, causing a stall or crash of the worker process when a large header is retrieved from the disk cache, resulting in a denial of service. |
| Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4312-1, DSA-5982-1 |
| Debian Bugs | 1055249 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| squid (PTS) | bullseye | 4.13-10+deb11u3 | vulnerable |
| bullseye (security) | 4.13-10+deb11u5 | fixed | |
| bookworm, bookworm (security) | 5.7-2+deb12u3 | fixed | |
| trixie | 6.13-2 | fixed | |
| forky | 7.1-1 | fixed | |
| sid | 7.2-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| squid | source | bullseye | 4.13-10+deb11u5 | DLA-4312-1 | ||
| squid | source | bookworm | 5.7-2+deb12u3 | DSA-5982-1 | ||
| squid | source | (unstable) | 6.5-1 | 1055249 | ||
| squid3 | source | (unstable) | (unfixed) |
https://github.com/squid-cache/squid/security/advisories/GHSA-543m-w2m2-g255
https://megamansec.github.io/Squid-Security-Audit/cache-headers.html
Fixed by [1/4]: https://github.com/squid-cache/squid/commit/a27bf4b84da23594150c7a86a23435df0b35b988 (SQUID_6_4)
Fixed by [2/4]: https://github.com/squid-cache/squid/commit/57acdb7dcec38605ede048db82b495ba316e6311 (SQUID_6_5)
Fixed by [3/4]: https://github.com/squid-cache/squid/commit/2f3efe5d9e1c9444cb3f95fc09cbbf52985f37bf (SQUID_6_5)
Followup [4/4]: https://github.com/squid-cache/squid/commit/18209199f8c330176401eac7ef2deb06ca4389b9 (SQUID_6_6)
Fixing this CVE will fix CVE-2025-54574 as well.