CVE-2023-5824

NameCVE-2023-5824
DescriptionA 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5982-1
Debian Bugs1055249

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
squid (PTS)bullseye4.13-10+deb11u3vulnerable
bullseye (security)4.13-10+deb11u4vulnerable
bookworm, bookworm (security)5.7-2+deb12u3fixed
trixie6.13-2fixed
forky, sid7.1-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
squidsourcebookworm5.7-2+deb12u3DSA-5982-1
squidsource(unstable)6.5-11055249
squid3source(unstable)(unfixed)

Notes

[bullseye] - squid <ignored> (Minor impact, too intrusive to backport to 5.x)
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.

Search for package or bug name: Reporting problems