CVE-2021-31808

Exp

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.

Published: 2021-05-27 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2021-31808 is rated High Exploit Risk (78.1/100): CVSS Medium severity, with high exploitation likelihood (EPSS 5.49%, 92th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +5.16% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2021-31808

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2021-31808

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.33% 5.49% +5.16%
2 2025-12-31 0.46% 0.33% -0.13%
3 2025-12-30 0.46%

Full EPSS history (29 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2021-31808

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.5 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
2.8 3.6 [email protected]
4.0 2.0 MEDIUM
AV:N/AC:L/Au:S/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:S)
A single authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
8.0 2.9 [email protected]

Weakness enumeration for CVE-2021-31808

OS Trackers for CVE-2021-31808

vendor priority summary link
alpine medium CVE-2021-31808: 1 source package rows (squid); 45 state rows across 10 repos (3.10-main, 3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 10, open 35. https://security.alpinelinux.org/vuln/CVE-2021-31808
debian not yet assigned CVE-2021-31808 not yet assigned priority: Debian including 1 source packages (squid), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2021-31808
gentoo normal CVE-2021-31808: 1 GLSA(s) (202105-14), 1 atom(s) (net-proxy/squid); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-31808
redhat medium https://access.redhat.com/security/cve/CVE-2021-31808
suse medium https://www.suse.com/security/cve/CVE-2021-31808/
ubuntu medium CVE-2021-31808 medium priority: Ubuntu including 2 source packages (squid, squid3), 32 status rows across 16 suites (bionic, focal, groovy, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): DNE 16, released 14, needed 1, needs-triage 1. https://ubuntu.com/security/CVE-2021-31808

Affected software / configurations for CVE-2021-31808

Vendor Product Version Raw CPE
squid-cache squid < 4.15 cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:*
squid-cache squid >= 5.0, < 5.0.6 cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
netapp cloud_manager cpe:2.3:a:netapp:cloud_manager:-:*:*:*:*:*:*:*
fedoraproject fedora 33 cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
fedoraproject fedora 34 cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*

References for CVE-2021-31808

URL Tags
http://seclists.org/fulldisclosure/2023/Oct/14 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2023/10/11/3 Mailing List Third Party Advisory
http://www.squid-cache.org/Versions/v4/changesets/squid-4-e7cf864f938f24eea8af0692c04d16790983c823.patch Exploit Patch Vendor Advisory
https://github.com/squid-cache/squid/security/advisories/GHSA-pxwq-f3qr-w2xf Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2021/06/msg00014.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSQ3U54ZCNXR44QRPW3AV2VCS6K3TKCF/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T4EPIWUZDJAXADDHVOPKRBTQHPBR6H66/
https://security.netapp.com/advisory/ntap-20210716-0007/ Third Party Advisory
https://www.debian.org/security/2021/dsa-4924 Third Party Advisory
cvelogic Threat Intelligence