CVE-2021-31808
Squid vulnerability analysis and mitigation

Overview

An issue was discovered in Squid before 4.15 and 5.x before 5.0.6. Due to an input-validation bug, it is vulnerable to a Denial of Service attack (against all clients using the proxy). A client sends an HTTP Range request to trigger this vulnerability (NVD, GitHub Advisory).

Technical details

The vulnerability is caused by an integer overflow bug in the HTTP Range header processing. The issue has a CVSS v3.1 Base Score of 6.5 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The vulnerability is triggered by a header that can be expected to exist in HTTP traffic without any malicious intent (NVD, NetApp Advisory).

Impact

Successful exploitation of this vulnerability leads to a Denial of Service (DoS) condition affecting all clients using the proxy. The attack impacts the availability of the service while having no effect on confidentiality or integrity of the data (NetApp Advisory).

Mitigation and workarounds

The vulnerability is fixed in Squid versions 4.15 and 5.0.6. Users are recommended to upgrade to these or later versions. No workarounds are known for this vulnerability (GitHub Advisory, Debian Advisory).

Community reactions

Multiple Linux distributions and software vendors have released security advisories and patches for this vulnerability, including Debian, Fedora, and NetApp. The vulnerability was part of a larger security audit of Squid that discovered 55 vulnerabilities in total, as reported by security researcher Joshua Rogers (OSS Security).

Additional resources


SourceThis report was generated using AI

Related Squid vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-54574CRITICAL9.8
  • SquidSquid
  • squid
NoYesAug 01, 2025
CVE-2025-62168HIGH7.5
  • SquidSquid
  • libecap
NoYesOct 17, 2025
CVE-2024-45802HIGH7.5
  • SquidSquid
  • libecap-devel
NoYesOct 28, 2024
CVE-2025-59362MEDIUM4
  • SquidSquid
  • squid-sysvinit
NoYesSep 26, 2025
ELSA-2025-20935HIGHN/A
  • SquidSquid
  • squid
NoYesNov 25, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management