# CVE-2021-31807

- Priority: **Prioritise**
- Reason: Weaponized exploit (Metasploit, 27-05-2021)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-06-08 · Modified: 2024-08-03
- Aliases: ALPINE-CVE-2021-31807, UBUNTU-CVE-2021-31807, DEBIAN-CVE-2021-31807
- Record: https://cvemate.com/vulnerability/CVE-2021-31807 · JSON: https://cvemate.com/vulnerability/CVE-2021-31807/json

## Description

```text
An issue was discovered in Squid before 4.15 and 5.x before 5.0.6. An integer overflow problem allows a remote server to achieve Denial of Service when delivering responses to HTTP Range requests. The issue trigger is a header that can be expected to exist in HTTP traffic without any malicious intent.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 15.559%, percentile 96.925%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (metasploit)

## Affected

- alpine squid (Alpine Linux): ≥ 3.0, \< 5.0.6-r0 \| ≥ 3.0, \< 4.15-r0 \| ≥ 5.0, \< 5.0.6-r0
- debian squid (Debian): \< 4.13-10
- ubuntu squid (Ubuntu): \< 4.10-1ubuntu1.4
- ubuntu squid3 (Ubuntu): All versions (No fix recorded) \| \< 3.5.27-1ubuntu1.11
- fedoraproject fedora: 33 \| 34
- netapp cloud\_manager: na
- squid-cache squid: ≥ 3.0, \< 4.15 \| ≥ 5.0, \< 5.0.6 \| 2.5.stable2 \| 2.5.stable3 \| 2.5.stable4 \| 2.5.stable5 \| 2.5.stable6 \| 2.5.stable7 \| 2.5.stable8 \| 2.5.stable9 \| 2.5.stable10 \| 2.5.stable11 \| 2.5.stable12 \| 2.5.stable13 \| 2.5.stable14 \| 2.6 \| 2.7 \| 2.7:stable2 \| 2.7:stable3 \| 2.7:stable4 \| 2.7:stable5 \| 2.7:stable6 \| 2.7:stable7 \| 2.7:stable8 \| 2.7:stable9

## References

- <https://github.com/squid-cache/squid/security/advisories/GHSA-pxwq-f3qr-w2xf>
- <http://www.squid-cache.org/Versions/v4/changesets/squid-4-e7cf864f938f24eea8af0692c04d16790983c823.patch>
- <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://lists.debian.org/debian-lts-announce/2021/06/msg00014.html>
- <https://security.netapp.com/advisory/ntap-20210716-0007/>
- <http://www.openwall.com/lists/oss-security/2023/10/11/3>
- <http://seclists.org/fulldisclosure/2023/Oct/14>
- <https://security.alpinelinux.org/vuln/CVE-2021-31807>
- <https://ubuntu.com/security/CVE-2021-31807>
- <https://ubuntu.com/security/notices/USN-4981-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-31807>
- <https://security-tracker.debian.org/tracker/CVE-2021-31807>

---

Data as of 2026-12-05T06:22:51.543Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
