Description
Squid 2.5 up to 2.5.STABLE7 allows remote attackers to poison the cache or conduct certain attacks via headers that do not follow the HTTP specification, including (1) multiple Content-Length headers, (2) carriage return (CR) characters that are not part of a CRLF pair, and (3) header names containing whitespace characters.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | squid | 2.5.7-6 | — |
| Debian 13 | squid | 2.5.7-6 | — |
| Debian 12 | squid | 2.5.7-6 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 4 | squid | 7:2.5.STABLE6-3.4E.3 | RHSA-2005:060 |
| RHEL 3 | squid | 7:2.5.STABLE3-6.3E.7 | RHSA-2005:061 |
Advisories 2
- RHSA-2005:060 Red Hat Security Advisory: squid security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2005:061 Red Hat Security Advisory: squid security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- FEDORA-2005-373 vendor-advisory
- http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE7-header_parsing
- 12412 vdb-entry
- FLSA-2006:152809 vendor-advisory
- VU#768702 third-party-advisory
- http://www3.br.squid-cache.org/Advisories/SQUID-2005_4.txt
- RHSA-2005:061 vendor-advisory
- CLA-2005:931 vendor-advisory
- oval:org.mitre.oval:def:10656 vdb-entry signature
- MDKSA-2005:034 vendor-advisory
- 20050207 [USN-77-1] Squid vulnerabilities mailing-list
- SUSE-SA:2005:006 vendor-advisory
- RHSA-2005:060 vendor-advisory