CVE-2025-62168: Squid vulnerable to information disclosure via authentication credential leakage in error handling
Squid is a caching proxy for the Web. In Squid versions prior to 7.2, a failure to redact HTTP authentication credentials in error handling allows information disclosure. The vulnerability allows a script to bypass browser security protections and learn the credentials a trusted client uses to authenticate. This potentially allows a remote client to identify security tokens or credentials used internally by a web application using Squid for backend load balancing. These attacks do not require Squid to be configured with HTTP authentication. The vulnerability is fixed in version 7.2. As a workaround, disable debug information in administrator mailto links generated by Squid by configuring squid.conf with emailerrdata off.
Other sources
Squid vulnerable to information disclosure via authentication credential leakage in error handling
— Microsoft
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/squid3to a version that resolves this vulnerability.Fixed in 3.5.12-1ubuntu7.16+esm5 - Upgrade
Upgrade
ubuntu/squid3to a version that resolves this vulnerability.Fixed in 3.5.27-1ubuntu1.14+esm4 - Upgrade
Upgrade
ubuntu/squidto a version that resolves this vulnerability.Fixed in 4.10-1ubuntu1.13+esm1 - Upgrade
Upgrade
ubuntu/squidto a version that resolves this vulnerability.Fixed in 5.9-0ubuntu0.22.04.4 - Upgrade
Upgrade
ubuntu/squidto a version that resolves this vulnerability.Fixed in 6.13-0ubuntu0.24.04.3 - Upgrade
Upgrade
ubuntu/squidto a version that resolves this vulnerability.Fixed in 6.13-1ubuntu4.1 - Upgrade
Upgrade
debian/squidto a version that resolves this vulnerability.Fixed in 5.7-2+deb12u4 - Upgrade
Upgrade
debian/squidto a version that resolves this vulnerability.Fixed in 6.13-2+deb13u1 - Upgrade
Upgrade
debian/squidto a version that resolves this vulnerability.Fixed in 7.2-1 - Upgrade
Upgrade
alpine/squidto a version that resolves this vulnerability.Fixed in 7.3-r0 - Upgrade
Upgrade
debian/squidto a version that resolves this vulnerability.Fixed in 4.13-10+deb11u6Fixed in 5.7-2+deb12u4Fixed in 6.13-2+deb13u1Fixed in 7.2-1 - Upgrade
Upgrade
Squidto a version that resolves this vulnerability.Fixed in 7.2 - Configuration
Configure squid.conf with email_err_data off to disable debug information in administrator mailto links.
Squid email_err_data = off
Event History
Frequently Asked Questions
What is the severity of CVE-2025-62168?
CVE-2025-62168 is classified as a security vulnerability that allows information disclosure due to improper handling of HTTP authentication credentials.
How do I fix CVE-2025-62168?
To mitigate CVE-2025-62168, upgrade to Squid version 7.2 or later, where the issue has been addressed.
What versions of Squid are affected by CVE-2025-62168?
CVE-2025-62168 affects all Squid versions prior to 7.2.
What is the impact of CVE-2025-62168 on user credentials?
CVE-2025-62168 allows scripts to bypass browser security protections and potentially access trusted client credentials.
Is there a workaround for CVE-2025-62168?
The recommended action for CVE-2025-62168 is to update to the latest version of Squid, as there are no effective workarounds to fully mitigate the vulnerability.