Description
squid_ldap_auth in Squid 2.5 and earlier allows remote authenticated users to bypass username-based Access Control Lists (ACLs) via a username with a space at the beginning or end, which is ignored by the LDAP server.
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-4 | — |
| Debian 13 | squid | 2.5.7-4 | — |
| Debian 12 | squid | 2.5.7-4 | — |
| Debian 3.0 | squid | 2.4.6-2woody6 | DSA-667-1 |
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 3
- 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
- DSA-667-1 squid - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- CLA-2005:923 vendor-advisory
- VU#924198 third-party-advisory
- http://www.squid-cache.org/Versions/v2/2.5/bugs/squid-2.5.STABLE7-ldap_spaces.patch
- 12431 vdb-entry
- oval:org.mitre.oval:def:10251 vdb-entry signature
- FLSA-2006:152809 vendor-advisory
- http://www.squid-cache.org/Versions/v2/2.5/bugs/#squid-2.5.STABLE7-ldap_spaces
- RHSA-2005:061 vendor-advisory
- MDKSA-2005:034 vendor-advisory
- DSA-667 vendor-advisory
- 20050207 [USN-77-1] Squid vulnerabilities mailing-list
- SUSE-SA:2005:006 vendor-advisory
- RHSA-2005:060 vendor-advisory
- http://www.squid-cache.org/bugs/show_bug.cgi?id=1187