# CVE-2021-31808: An issue was discovered in Squid before 4.15 and 5.x before 5.0.6.

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.34%, higher than 92% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-27T00:00:00.000Z
- Modified: 2026-06-17T03:52:16.337Z
- Weaknesses: CWE-190
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- squid-cache squid: before 4.15; from 5.0 before 5.0.6
- debian debian_linux: 9.0; 10.0
- netapp cloud_manager: no versions given
- fedoraproject fedora: 33; 34

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:N/I:N/A:P`

## References

- <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://www.debian.org/security/2021/dsa-4924> (third-party-advisory, vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSQ3U54ZCNXR44QRPW3AV2VCS6K3TKCF/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T4EPIWUZDJAXADDHVOPKRBTQHPBR6H66/> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2021/06/msg00014.html> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210716-0007/> (third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2023/10/11/3> (mailing-list, third-party-advisory)
- <http://seclists.org/fulldisclosure/2023/Oct/14> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2021-31808](https://www.cve.org/CVERecord?id=CVE-2021-31808), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-31808](https://nvd.nist.gov/vuln/detail/CVE-2021-31808), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31808 · Whole record: https://cve.day/CVE-2021-31808.json · Rebuilt by cve.day 2026-11-25T22:58:01.571Z
