Denial of Service Vulnerability in Squid Package

squid Updated 02 Oct 2025

Summary

27/05/2021
N/A
Yes i
Medium
6.5

ALPINE-CVE-2021-28662: An issue was discovered in Squid 4.x before 4.15 and 5.x before 5.0.6. Affects squid versions < 4.15-r0. Fixed in 4.15-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 widely used caching proxy for the web that supports HTTP, HTTPS, and FTP protocols. It is designed to improve web performance by caching frequently requested content and reducing bandwidth usage. Squid is known for its flexibility and extensive configuration options, making it a popular choice for organizations looking to optimize their web traffic. However, certain versions of Squid are vulnerable to a denial of service (DoS) attack, which can disrupt its functionality and impact users relying on its services.

Vulnerability Detail

An issue was discovered in Squid versions 4.x before 4.15 and 5.x before 5.0.6. If a remote server sends a specific response header over HTTP or HTTPS, it can lead to a denial of service. This vulnerability can be exploited through benign network traffic, making it difficult to detect and mitigate. The potential ramifications include service interruptions and degraded performance for users relying on the Squid proxy.

How To Fix

Minimum fixed version

4.15-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, you can configure Squid to ignore specific response headers that may trigger the vulnerability. This can be done by modifying the Squid configuration file (usually located at /etc/squid/squid.conf) to filter out problematic headers. However, this is not a permanent solution and should be followed up with an update.

Conclusion

The vulnerability in Squid presents a significant risk of denial of service, affecting multiple versions of the package. It is crucial for users to update to the patched versions to mitigate this risk. Utilizing tools like Vulert can help in monitoring and managing vulnerabilities effectively.

See every vulnerability recorded for squid →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 6.5, indicating a medium severity level.

Squid versions 4.x before 4.15 and 5.x before 5.0.6 are affected by this vulnerability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check if your application is affected by using the Vulert playground without any signup.

The vulnerability can lead to denial of service, causing interruptions and degraded performance for users relying on the Squid proxy.

Yes, the permanent fix is to update to the patched versions of Squid: 4.15-r0 for 4.x or 5.0.6-r0 for 5.x.

Related vulnerabilities

Recent vulnerabilities recorded for squid.

How To Fix

Minimum fixed version

4.15-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