{"id":"CVE-2021-31806","details":"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.","modified":"2026-02-24T01:21:24.080673Z","published":"2021-05-27T13:15:08.270Z","related":["ALSA-2021:4292","GHSA-pxwq-f3qr-w2xf","MGASA-2021-0237","SUSE-SU-2021:1838-1","SUSE-SU-2021:1961-1","openSUSE-SU-2021:0879-1","openSUSE-SU-2021:1961-1","openSUSE-SU-2024:11403-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LSQ3U54ZCNXR44QRPW3AV2VCS6K3TKCF/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/T4EPIWUZDJAXADDHVOPKRBTQHPBR6H66/"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2023/Oct/14"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2023/10/11/3"},{"type":"ADVISORY","url":"http://www.squid-cache.org/Versions/v4/changesets/squid-4-e7cf864f938f24eea8af0692c04d16790983c823.patch"},{"type":"ADVISORY","url":"https://github.com/squid-cache/squid/security/advisories/GHSA-pxwq-f3qr-w2xf"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00014.html"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20210716-0007/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-4924"},{"type":"FIX","url":"http://www.squid-cache.org/Versions/v4/changesets/squid-4-e7cf864f938f24eea8af0692c04d16790983c823.patch"},{"type":"FIX","url":"https://github.com/squid-cache/squid/security/advisories/GHSA-pxwq-f3qr-w2xf"},{"type":"ARTICLE","url":"http://seclists.org/fulldisclosure/2023/Oct/14"},{"type":"ARTICLE","url":"http://www.openwall.com/lists/oss-security/2023/10/11/3"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2021/06/msg00014.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/squid-cache/squid","events":[{"introduced":"0"},{"fixed":"1521895e24671463bf590cabcdbd2acf637ed2c1"},{"introduced":"0"},{"fixed":"648729b05673c6166c5d91c6ee4cda30cc164839"}]}],"versions":["BASIC_TPROXY4","BumpSslServerFirst.take01","BumpSslServerFirst.take02","BumpSslServerFirst.take03","BumpSslServerFirst.take04","BumpSslServerFirst.take05","BumpSslServerFirst.take06","BumpSslServerFirst.take07","BumpSslServerFirst.take08","BumpSslServerFirst.take09","BumpSslServerFirst.take10","HISTORIC_RELEASES","M-staged-PR161","M-staged-PR164","M-staged-PR170","M-staged-PR176","M-staged-PR179","M-staged-PR181","M-staged-PR182","M-staged-PR186","M-staged-PR189","M-staged-PR193","M-staged-PR195","M-staged-PR196","M-staged-PR198","M-staged-PR199","M-staged-PR200","M-staged-PR202","M-staged-PR206","M-staged-PR208","M-staged-PR209","M-staged-PR210","M-staged-PR218","M-staged-PR220","M-staged-PR221","M-staged-PR225","M-staged-PR227","M-staged-PR229","M-staged-PR230","M-staged-PR235","M-staged-PR237","M-staged-PR238","M-staged-PR239","M-staged-PR241","M-staged-PR242","M-staged-PR252","M-staged-PR255","M-staged-PR258","M-staged-PR264","M-staged-PR266","M-staged-PR267","M-staged-PR268","M-staged-PR274","M-staged-PR276","M-staged-PR293","M-staged-PR294","M-staged-PR295","M-staged-PR299","M-staged-PR306","M-staged-PR314","M-staged-PR319","M-staged-PR342","M-staged-PR345","M-staged-PR348","M-staged-PR351","M-staged-PR359","M-staged-PR364","M-staged-PR365","M-staged-PR366","M-staged-PR370","M-staged-PR372","M-staged-PR373","M-staged-PR375","M-staged-PR376","SQUID_3_0_PRE1","SQUID_3_0_PRE2","SQUID_3_0_PRE3","SQUID_3_0_PRE4","SQUID_3_0_PRE5","SQUID_3_0_PRE6","SQUID_3_0_PRE7","SQUID_3_0_RC1","SQUID_3_5_27","SQUID_4_0_1","SQUID_4_0_10","SQUID_4_0_11","SQUID_4_0_12","SQUID_4_0_13","SQUID_4_0_14","SQUID_4_0_15","SQUID_4_0_16","SQUID_4_0_17","SQUID_4_0_18","SQUID_4_0_19","SQUID_4_0_2","SQUID_4_0_20","SQUID_4_0_21","SQUID_4_0_22","SQUID_4_0_23","SQUID_4_0_24","SQUID_4_0_25","SQUID_4_0_3","SQUID_4_0_4","SQUID_4_0_5","SQUID_4_0_6","SQUID_4_0_7","SQUID_4_0_8","SQUID_4_0_9","SQUID_4_1","SQUID_4_10","SQUID_4_11","SQUID_4_12","SQUID_4_13","SQUID_4_14","SQUID_4_2","SQUID_4_3","SQUID_4_4","SQUID_4_5","SQUID_4_6","SQUID_4_7","SQUID_4_8","SQUID_4_9","SQUID_5_0_1","SQUID_5_0_2","SQUID_5_0_3","SQUID_5_0_4","SQUID_5_0_5","for-libecap-v0p1","merge-candidate-3-v1","merge-candidate-3-v2","sourceformat-review-1","take00","take01","take02","take03","take04","take06","take07","take08","take09","take1","take2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-31806.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}