VDB

CVE-2021-31808

CVE-2021-31808 PUBLISHED

Reported by mitre · Published May 27, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
squidArch Linux4.15-1
squidAmazon Linux7:3.5.20-17.amzn2.7.2
squid-sysvinitAmazon Linux7:3.5.20-17.amzn2.7.2
squid-migration-scriptAmazon Linux7:3.5.20-17.amzn2.7.2
squidAlpine5.0.6-r0, 4.15-r0
squidsquid-cache5.0.6, 4.15

Affected products

VendorProductVersions
n/an/an/a
archsquid0
amazon:2squid0
amazon:2squid-sysvinit0
amazon:2squid-migration-script0
alpinesquid0, 0
n/an/a*

Timeline

  • May 10, 2021 CVE Published
  • May 28, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (5 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (6 in total, the first dated here)
  • Aug 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-31808
vulnetix vdb fixes CVE-2021-31808

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-31808/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›