VYPR
Unrated severityNVD Advisory· Published May 27, 2021· Updated Aug 3, 2024

CVE-2021-31808

CVE-2021-31808

Description

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

5

Patches

Vulnerability mechanics

Root cause

"Missing input validation on HTTP Range header values allows integer overflow."

Attack vector

An attacker sends an HTTP request containing a crafted Range header to the Squid proxy. Due to an input-validation bug, the integer arithmetic performed on the range values overflows, leading to memory corruption or an assertion failure. This causes a denial of service against all clients using the proxy, as Squid crashes or becomes unresponsive [ref_id=1].

Affected code

The vulnerability is in Squid's handling of HTTP Range headers. The advisory lists it as "Integer Overflow in Range Header" [ref_id=1]. No specific function or file paths are provided in the bundle.

What the fix does

The advisory does not include a patch or specific remediation guidance. It notes that the issue was fixed in Squid before 4.15 and 5.x before 5.0.6, but no technical details of the fix are provided in the bundle [ref_id=1].

Preconditions

  • networkThe attacker must be able to send HTTP requests to the Squid proxy.
  • inputThe attacker must craft an HTTP Range header with values that trigger an integer overflow.

Generated on May 25, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

9

News mentions

0

No linked articles in our index yet.