CVE Vulnerabilities

CVE-2025-62168

Generation of Error Message Containing Sensitive Information

Published: Oct 17, 2025 | Modified: Nov 05, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
8.6 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Ubuntu
MEDIUM

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 email_err_data off.

Weakness

The product generates an error message that includes sensitive information about its environment, users, or associated data.

Affected Software

Name Vendor Start Version End Version
Squid Squid-cache * 7.2 (excluding)
Red Hat Enterprise Linux 7 Extended Lifecycle Support RedHat squid-7:3.5.20-17.el7_9.15 *
Red Hat Enterprise Linux 8 RedHat squid:4-8100020251023131551.489197e6 *
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support RedHat squid:4-8060020251027230224.ad008a3a *
Red Hat Enterprise Linux 8.6 Telecommunications Update Service RedHat squid:4-8060020251027230224.ad008a3a *
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions RedHat squid:4-8060020251027230224.ad008a3a *
Red Hat Enterprise Linux 8.8 Telecommunications Update Service RedHat squid:4-8080020251029094904.63b34585 *
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions RedHat squid:4-8080020251029094904.63b34585 *
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions RedHat squid-7:5.2-1.el9_0.9 *
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions RedHat squid-7:5.5-5.el9_2.10 *
Red Hat Enterprise Linux 9.4 Extended Update Support RedHat squid-7:5.5-13.el9_4.4 *
Squid Ubuntu devel *
Squid Ubuntu esm-infra/focal *
Squid Ubuntu jammy *
Squid Ubuntu noble *
Squid Ubuntu plucky *
Squid Ubuntu questing *
Squid Ubuntu upstream *
Squid3 Ubuntu esm-infra/bionic *
Squid3 Ubuntu esm-infra/xenial *

Potential Mitigations

  • Ensure that error messages only contain minimal details that are useful to the intended audience and no one else. The messages need to strike the balance between being too cryptic (which can confuse users) or being too detailed (which may reveal more than intended). The messages should not reveal the methods that were used to determine the error. Attackers can use detailed information to refine or optimize their original attack, thereby increasing their chances of success.
  • If errors must be captured in some detail, record them in log messages, but consider what could occur if the log messages can be viewed by attackers. Highly sensitive information such as passwords should never be saved to log files.
  • Avoid inconsistent messaging that might accidentally tip off an attacker about internal state, such as whether a user account exists or not.

References