CVE-2021-31806

CRITICALNVD 6.59.0
EchelonGraph scoreHIGH confidence

“▲” beside the score: it is higher than NVD's CVSS score.

Score elevated to 9.0 because EPSS predicted 95% probability of exploitation within the next 30 days (99th percentile of EPSS-scored CVEs) when EchelonGraph scored this CVE. NVD baseline CVSS 6.5 retained for reference. Confidence: see factors.

Triggered by: EPSS exploit prediction (continuous uplift above 30%)
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Trending — 3 sources updated this weekWeaponized

Also known asEUVD-2021-18684 (ENISA EUVD) · GHSA-3v8m-hgx9-fgh9 (GitHub Security Advisories)Source: ENISA EUVD

9.0EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines at low or medium mission impact and sooner than that at high (the SSVC decision on this page).
  • High exploitation likelihood — EPSS 95%
  • Public exploit code is available (Metasploit)
CISA-KEV: Not listedEPSS PROB: 95%CVSS: 6.5Exploit: MetasploitExposed services: Not assessed

A fix is available — apply it.

An issue was discovered in Squid before 4.15 and 5.x before 5.0.6. Due to a memory-management bug, it is vulnerable to a Denial of Service attack (against all clients using the proxy) via HTTP Range request processing.

CVSS v3
6.5
EG Score
9.0CRITICALhigh confidence
EG Risk
67
EG Risk 67/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity65% × 45%
Impact severity (EG Severity): CVSS 6.5 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation95% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability0% × 15%
CISA's BOD 26-04 default: no one has published Automatable for this CVE, and CISA treats it as “no” for a CVE not in KEV.
SSVC (CISA's decision table, applied by EchelonGraph): Track at low, Track* at medium and Attend at high mission impact.
Exploitation public PoC (exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.
EPSS PROB
95%
EPSS %ILE
99th
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.0): severity, escalated by confirmed exploitation. This CVE's 9.0 is EPSS's lift toward 9.0 from its impact severity (EG Severity, CVSS 6.5 MEDIUM): a likelihood of exploitation, not impact.

EG Severity
6.5 MEDIUMCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.GitHub Security Advisory CVSS
EG Likelihood
95% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-01). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track* at medium mission impactTrack at low, Track* at medium and Attend at high mission impact.CISA BOD 26-04: 14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low, Track* at medium and Attend at high mission impact.

A fix is available. Apply it within your standard update timelines at low or medium mission impact and sooner than that at high.

Exploitation public PoC (exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). Where an input reads “CISA's BOD 26-04 default”, no one has published it for this CVE, and CISA's implementation guidance says: “If “Automatable” and “Technical Impact” information items about a CVE ID are not available and the CVE ID is not in the KEV Catalog, CISA will treat its values as “no” and “total,” respectively, until CISA or a third party provides metadata about the CVE ID. CISA will always provide the Vulnrichment data for a CVE ID listed in the KEV Catalog.” Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

May 27, 2021

Last Modified

November 21, 2024

Advisory Details (9)

Auto-updated Oct 15, 2026
Patch available. Sources: github.
Web page

Full Disclosure: Squid Caching Proxy Security Audit: 55 Vulnerabilities, 35 0days.

http://seclists.org/fulldisclosure/2023/Oct/14
Web page

[SECURITY] [DSA 4924-1] squid security update

https://www.debian.org/security/2021/dsa-4924
Web page

[SECURITY] Fedora 33 Update: squid-4.15-1.fc33 - package-announce - Fedora mailing-lists

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T4EPIWUZDJAXADDHVOPKRBTQHPBR6H66/
Web page

[SECURITY] Fedora 34 Update: squid-5.0.6-1.fc34 - package-announce - Fedora mailing-lists

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSQ3U54ZCNXR44QRPW3AV2VCS6K3TKCF/
Web pageMentions a patch (unverified)

[SECURITY] [DLA 2685-1] squid3 security update

https://lists.debian.org/debian-lts-announce/2021/06/msg00014.html
GitHub advisoryMentions a patch (unverified)

SQUID-2021:4 Multiple Issues in HTTP Range header · Advisory · squid-cache/squid · GitHub

https://github.com/squid-cache/squid/security/advisories/GHSA-pxwq-f3qr-w2xf
Web page

oss-security - Squid Caching Proxy Security Audit: 55 Vulnerabilities, 35 0days.

http://www.openwall.com/lists/oss-security/2023/10/11/3

Patch Availability(2)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntusquid-cgi (4.13-1ubuntu4.1) @ hirsute2026-10-31ubuntu
redhatsquid:4-8050020210618131503.b4937e532021-11-09redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(21 across 21 ecosystems)
Alpine:v3.10(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 4.15-r0: fixed in 4.15-r0
—
Alpine:v3.11(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 4.15-r0: fixed in 4.15-r0
—
Alpine:v3.12(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 4.15-r0: fixed in 4.15-r0
—
Alpine:v3.13(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 5.0.6-r0: fixed in 5.0.6-r0
—
Alpine:v3.14(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 5.0.6-r0: fixed in 5.0.6-r0
—
Alpine:v3.15(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 5.0.6-r0: fixed in 5.0.6-r0
—
Alpine:v3.16(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 5.0.6-r0: fixed in 5.0.6-r0
—
Alpine:v3.17(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 5.0.6-r0: fixed in 5.0.6-r0
—
Alpine:v3.18(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 5.0.6-r0: fixed in 5.0.6-r0
—
Alpine:v3.19(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 5.0.6-r0: fixed in 5.0.6-r0
—
Alpine:v3.20(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 5.0.6-r0: fixed in 5.0.6-r0
—
Alpine:v3.21(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 5.0.6-r0: fixed in 5.0.6-r0
—
Alpine:v3.22(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 5.0.6-r0: fixed in 5.0.6-r0
—
Alpine:v3.23(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 5.0.6-r0: fixed in 5.0.6-r0
—
Alpine:v3.24(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • 5.0 up to 5.0.6-r0: fixed in 5.0.6-r0
—
Debian:10(1)
PackageVulnerable rangeFix by version rangeDependents
squid4.6-1 ... 4.6-1+deb10u5 (6 versions)
  • every version up to 4.6-1+deb10u6: fixed in 4.6-1+deb10u6
—
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • every version up to 4.13-10: fixed in 4.13-10
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • every version up to 4.13-10: fixed in 4.13-10
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • every version up to 4.13-10: fixed in 4.13-10
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
squid—
  • every version up to 4.13-10: fixed in 4.13-10
—
Debian:9(1)
PackageVulnerable rangeFix by version rangeDependents
squid33.5.23-5 ... 3.5.23-5+deb9u6 (7 versions)
  • every version up to 3.5.23-5+deb9u7: fixed in 3.5.23-5+deb9u7
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

All Vendor Advisories

(2)

Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.

Data Freshness Timeline

(refreshed 20× in last 7d / 68× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 96 of 137 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 4 repeat rows among the latest 100 are merged into the row they repeat. The 41 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-01 21:07 UTCEG score recompute
  2. 2026-11-01 21:07 UTCVendor advisory
  3. 2026-11-01 21:07 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub severity MODERATE · GitHub CVSS 6.5
  4. 2026-10-31 20:11 UTCEG score recompute
  5. 2026-10-31 20:11 UTCVendor advisory
  6. 2026-10-31 20:11 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  7. 2026-10-30 19:12 UTCEG score recompute
  8. 2026-10-30 19:12 UTCVendor advisory
  9. 2026-10-30 19:12 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  10. 2026-10-29 18:15 UTCEG score recompute
  11. 2026-10-29 18:15 UTCVendor advisory
  12. 2026-10-29 18:15 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  13. 2026-10-28 17:18 UTCEG score recompute
  14. 2026-10-28 17:18 UTCVendor advisory
  15. 2026-10-28 17:18 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  16. 2026-10-27 16:20 UTCEG score recompute
  17. 2026-10-27 16:20 UTCVendor advisory
  18. 2026-10-27 16:20 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  19. 2026-10-26 15:17 UTCVendor advisory
  20. 2026-10-26 15:17 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  21. 2026-10-25 18:28 UTCEG score recompute
  22. 2026-10-25 16:28 UTCEPSS rescoreEPSS 95% · 99th percentile
  23. 2026-10-25 13:21 UTCEG score recompute
  24. 2026-10-25 13:21 UTCVendor advisory
  25. 2026-10-25 13:21 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
Show 71 more
  1. 2026-10-24 12:23 UTCEG score recompute
  2. 2026-10-24 12:23 UTCVendor advisory
  3. 2026-10-24 12:23 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  4. 2026-10-23 11:26 UTCEG score recompute
  5. 2026-10-23 11:26 UTCVendor advisory
  6. 2026-10-23 11:26 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  7. 2026-10-22 10:27 UTCEG score recompute
  8. 2026-10-22 10:27 UTCVendor advisory
  9. 2026-10-22 10:26 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  10. 2026-10-21 16:28 UTCEPSS rescoreEPSS 95% · 99th percentile
  11. 2026-10-21 09:26 UTCEG score recompute
  12. 2026-10-21 09:26 UTCVendor advisory
  13. 2026-10-21 09:26 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  14. 2026-10-20 08:29 UTCEG score recompute
  15. 2026-10-20 08:29 UTCVendor advisory
  16. 2026-10-20 08:29 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  17. 2026-10-19 07:31 UTCEG score recompute
  18. 2026-10-19 07:31 UTCVendor advisory
  19. 2026-10-19 07:31 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  20. 2026-10-18 16:28 UTCEPSS rescoreEPSS 95% · 99th percentile
  21. 2026-10-18 06:32 UTCEG score recompute
  22. 2026-10-18 06:32 UTCVendor advisory
  23. 2026-10-18 06:32 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  24. 2026-10-17 16:29 UTCEPSS rescoreEPSS 96% · 99th percentile
  25. 2026-10-17 05:34 UTCEG score recompute
  26. 2026-10-17 05:34 UTCVendor advisory
  27. 2026-10-17 05:34 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  28. 2026-10-16 04:34 UTCEG score recompute
  29. 2026-10-16 04:34 UTCVendor advisory
  30. 2026-10-16 04:33 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  31. 2026-10-15 16:28 UTCEPSS rescoreEPSS 96% · 99th percentile
  32. 2026-10-15 03:00 UTCEG score recompute
  33. 2026-10-15 03:00 UTCVendor advisory
  34. 2026-10-15 03:00 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  35. 2026-10-14 16:28 UTCEPSS rescoreEPSS 96% · 99th percentile
  36. 2026-10-13 23:12 UTCEG score recompute
  37. 2026-10-13 23:12 UTCVendor advisory
  38. 2026-10-13 23:11 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  39. 2026-10-12 19:18 UTCVendor advisory
  40. 2026-10-12 19:18 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  41. 2026-10-12 19:17 UTCEG score recompute
  42. 2026-10-11 23:42 UTCEG score recompute
  43. 2026-10-07 23:44 UTCEPSS rescoreEPSS 96% · 99th percentile
  44. 2026-09-30 20:40 UTCOSV refresh
  45. 2026-09-30 15:35 UTCEG score recompute
  46. 2026-09-30 15:00 UTCEPSS rescoreEPSS 96% · 99th percentile
  47. 2026-09-22 14:44 UTCEPSS rescoreEPSS 96% · 99th percentile
  48. 2026-09-21 20:28 UTCEPSS rescoreEPSS 96% · 99th percentile
  49. 2026-09-18 19:23 UTCEPSS rescoreEPSS 96% · 99th percentile
  50. 2026-09-15 03:06 UTCEPSS rescoreEPSS 96% · 99th percentile
  51. 2026-09-12 02:40 UTCOSV refresh
  52. 2026-09-06 13:45 UTCEPSS rescoreEPSS 96% · 99th percentile
  53. 2026-09-05 15:25 UTCEPSS rescoreEPSS 96% · 99th percentile
  54. 2026-09-02 14:08 UTCEPSS rescoreEPSS 96% · 99th percentile
  55. 2026-08-30 19:14 UTCEPSS rescoreEPSS 96% · 99th percentile
  56. 2026-08-28 21:37 UTCEPSS rescoreEPSS 96% · 99th percentile
  57. 2026-08-24 14:13 UTCEPSS rescoreEPSS 96% · 99th percentile
  58. 2026-08-24 07:58 UTCOSV refresh
  59. 2026-08-23 00:16 UTCEPSS rescoreEPSS 96% · 99th percentile
  60. 2026-08-19 17:01 UTCEPSS rescoreEPSS 96% · 99th percentile
  61. 2026-08-16 02:11 UTCEPSS rescoreEPSS 96% · 99th percentile
  62. 2026-08-11 13:38 UTCEPSS rescoreEPSS 96% · 99th percentile
  63. 2026-08-08 04:49 UTCOSV refresh
  64. 2026-07-30 01:28 UTCEPSS rescoreEPSS 96% · 99th percentile
  65. 2026-07-28 15:33 UTCEPSS rescoreEPSS 96% · 99th percentile
  66. 2026-07-24 14:15 UTCEPSS rescoreEPSS 96% · 99th percentile
  67. 2026-07-23 02:00 UTCEG score recompute
  68. 2026-07-22 21:28 UTCEG score recompute▲ 2.50
  69. 2026-07-22 21:28 UTCVendor advisory
  70. 2026-07-22 21:27 UTCGHSA enrichmentGHSA-3v8m-hgx9-fgh9 · GitHub CVSS 6.5
  71. 2026-07-21 15:22 UTCEPSS rescoreEPSS 96% · 99th percentile

Publicly available exploits

(1 reference)

Public exploit code is referenced for this CVE (1 Metasploit module). Defenders should treat patch urgency accordingly.

  • Metasploitauxiliary/dos/http/squid_range_dos✓ verified
    Published Oct 21, 2021

    Squid Proxy Range Header DoS

    Open source ↗

Frequently asked(5)

What is CVE-2021-31806?
CVE-2021-31806 is a critical-severity vulnerability; its CVE record was published on May 27, 2021. An issue was discovered in Squid before 4.15 and 5.x before 5.0.6. Due to a memory-management bug, it is vulnerable to a Denial of Service attack (against all clients using the proxy) via HTTP Range request processing.
When was the CVE record for CVE-2021-31806 published?
The CVE record for CVE-2021-31806 was published on May 27, 2021. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of November 21, 2024; the record at its source may have been updated since.
Is CVE-2021-31806 actively exploited?
CVE-2021-31806 is not currently on CISA's Known Exploited Vulnerabilities catalog. EchelonGraph's EG-KEV model places it in Tier 2 (Weaponized), which is not evidence of exploitation: a Metasploit module exists for it. EchelonGraph does not test whether exploit code works. FIRST EPSS estimates a 95% probability of exploitation in the next 30 days (99th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2021-31806?
CVE-2021-31806 has a CVSS v3 base score of 6.5 (NVD). EchelonGraph synthesises NVD + FIRST EPSS + GHSA into a combined EG score of 9.0 (CRITICAL).
How do I remediate CVE-2021-31806?
A fix for CVE-2021-31806 is available: update to the fixed version the vendor names in its advisory.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-31806

Explore →

Is Your Infrastructure Affected by CVE-2021-31806?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.