Sensitive Information Exposure in Squid

squid Updated 02 Oct 2025

Summary

25/12/2022
N/A
Yes i
Medium
6.5

CVE-2022-41317: An issue was discovered in Squid 4.9 through 4.17 and 5.0.6 through 5.6. Affects squid across 2 version ranges.

< 5.7-r0 >= 1521895e24671463bf590cabcdbd2acf637ed2c1, < 5bb2694408e7a42897e9efe775361579d8864de8

Fixed in 5.7-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Squid is a popular open-source proxy caching server that is widely used to improve web performance and reduce bandwidth usage. It acts as an intermediary between clients and web servers, caching frequently accessed content to provide faster responses. Squid is known for its robustness, scalability, and extensive feature set. However, a vulnerability has been discovered in versions 4.9 through 4.17 and 5.0.6 through 5.6 of Squid, which can lead to the exposure of sensitive information about clients using the proxy.

Vulnerability Detail

The vulnerability, identified as CVE-2022-41317, arises due to inconsistent handling of internal URIs within Squid. An attacker can exploit this flaw by sending an HTTPS request to an internal cache manager URL, resulting in the exposure of sensitive information about clients. This information can include potentially confidential data, such as user credentials or session identifiers. The vulnerability has a CVSS score of 6.5, indicating a moderate severity level.

How To Fix

Minimum fixed version

5.7-r0

This is the first release that contains the fix.

sudo apk add --upgrade squid

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can consider restricting access to the internal cache manager URL. This can be achieved by configuring appropriate access control rules or firewall settings to limit access to trusted IP addresses or networks. By restricting access, the risk of sensitive information exposure can be mitigated until the upgrade to Squid 5.7 or later is performed.

Conclusion

In conclusion, the vulnerability in Squid versions 4.9 through 4.17 and 5.0.6 through 5.6 can lead to the exposure of sensitive information about clients using the proxy. To mitigate this risk, it is crucial to upgrade to Squid 5.7 or later. Restricting access to the internal cache manager URL can serve as a temporary workaround. For further assistance and support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for squid →

Share this vulnerability

FAQ

Squid is an open-source proxy caching server that improves web performance and reduces bandwidth usage by caching frequently accessed content.

The vulnerability allows an attacker to obtain sensitive information about clients using the Squid proxy, potentially compromising user credentials or session identifiers.

Versions 4.9 through 4.17 and 5.0.6 through 5.6 of Squid are affected by this vulnerability.

To fix this vulnerability, it is recommended to upgrade to Squid version 5.7 or later.

Yes, as a temporary workaround, access to the internal cache manager URL can be restricted to trusted IP addresses or networks.

Related vulnerabilities

Recent vulnerabilities recorded for squid.

How To Fix

Minimum fixed version

5.7-r0

This is the first release that contains the fix.

sudo apk add --upgrade squid

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback