{"id":"CVE-2021-31807","details":"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.","aliases":["CVE-2021-31806","CVE-2021-31808","GHSA-pxwq-f3qr-w2xf"],"modified":"2026-07-08T06:50:07.178850323Z","published":"2021-06-08T20:15:09.057Z","related":["ALSA-2021:4292"],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"33"},{"last_affected":"33"},{"introduced":"34"},{"last_affected":"34"}],"source":"CPE_STRING","vendor_product":"fedoraproject:fedora"},{"cpes":["cpe:2.3:a:squid-cache:squid:2.5.stable10:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.5.stable11:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.5.stable12:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.5.stable13:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.5.stable14:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.5.stable2:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.5.stable3:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.5.stable4:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.5.stable5:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.5.stable6:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.5.stable7:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.5.stable8:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.5.stable9:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.6:*:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.7:-:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.7:stable2:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.7:stable3:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.7:stable4:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.7:stable5:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.7:stable6:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.7:stable7:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.7:stable8:*:*:*:*:*:*","cpe:2.3:a:squid-cache:squid:2.7:stable9:*:*:*:*:*:*"],"extracted_events":[{"introduced":"2.5.stable2"},{"last_affected":"2.5.stable2"},{"introduced":"2.5.stable3"},{"last_affected":"2.5.stable3"},{"introduced":"2.5.stable4"},{"last_affected":"2.5.stable4"},{"introduced":"2.5.stable5"},{"last_affected":"2.5.stable5"},{"introduced":"2.5.stable6"},{"last_affected":"2.5.stable6"},{"introduced":"2.5.stable7"},{"last_affected":"2.5.stable7"},{"introduced":"2.5.stable8"},{"last_affected":"2.5.stable8"},{"introduced":"2.5.stable9"},{"last_affected":"2.5.stable9"},{"introduced":"2.5.stable10"},{"last_affected":"2.5.stable10"},{"introduced":"2.5.stable11"},{"last_affected":"2.5.stable11"},{"introduced":"2.5.stable12"},{"last_affected":"2.5.stable12"},{"introduced":"2.5.stable13"},{"last_affected":"2.5.stable13"},{"introduced":"2.5.stable14"},{"last_affected":"2.5.stable14"},{"introduced":"2.6"},{"last_affected":"2.6"},{"introduced":"2.7-NA"},{"last_affected":"2.7-NA"},{"introduced":"2.7-stable2"},{"last_affected":"2.7-stable2"},{"introduced":"2.7-stable3"},{"last_affected":"2.7-stable3"},{"introduced":"2.7-stable4"},{"last_affected":"2.7-stable4"},{"introduced":"2.7-stable5"},{"last_affected":"2.7-stable5"},{"introduced":"2.7-stable6"},{"last_affected":"2.7-stable6"},{"introduced":"2.7-stable7"},{"last_affected":"2.7-stable7"},{"introduced":"2.7-stable8"},{"last_affected":"2.7-stable8"},{"introduced":"2.7-stable9"},{"last_affected":"2.7-stable9"}],"source":"CPE_STRING","vendor_product":"squid-cache:squid"}]},"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":"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":"FIX","url":"http://www.squid-cache.org/Versions/v4/changesets/squid-4-e7cf864f938f24eea8af0692c04d16790983c823.patch"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/squid-cache/squid","events":[{"introduced":"0"},{"fixed":"648729b05673c6166c5d91c6ee4cda30cc164839"},{"fixed":"1521895e24671463bf590cabcdbd2acf637ed2c1"}],"database_specific":{"extracted_events":[{"introduced":"3.0"},{"fixed":"4.15"},{"introduced":"5.0"},{"fixed":"5.0.6"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:*"}}],"versions":["SQUID_4_14","SQUID_5_0_5","SQUID_4_13","SQUID_5_0_4","SQUID_4_12","SQUID_5_0_3","SQUID_5_0_2","SQUID_4_11","SQUID_5_0_1","SQUID_4_10","SQUID_4_9","SQUID_4_8","SQUID_4_7","M-staged-PR365","M-staged-PR370","M-staged-PR376","M-staged-PR375","SQUID_4_6","M-staged-PR373","M-staged-PR372","M-staged-PR319","M-staged-PR366","M-staged-PR351","M-staged-PR342","M-staged-PR364","M-staged-PR359","SQUID_4_5","M-staged-PR348","M-staged-PR345","SQUID_4_4","M-staged-PR314","M-staged-PR306","SQUID_4_3","M-staged-PR294","M-staged-PR299","M-staged-PR295","M-staged-PR293","M-staged-PR164","SQUID_4_2","M-staged-PR276","M-staged-PR274","SQUID_3_5_27","M-staged-PR264","M-staged-PR268","M-staged-PR267","M-staged-PR266","M-staged-PR258","M-staged-PR230","M-staged-PR255","M-staged-PR252","M-staged-PR229","M-staged-PR241","M-staged-PR239","M-staged-PR242","SQUID_4_1","M-staged-PR235","M-staged-PR238","M-staged-PR218","M-staged-PR237","M-staged-PR227","M-staged-PR202","M-staged-PR225","SQUID_4_0_25","M-staged-PR220","M-staged-PR221","M-staged-PR210","M-staged-PR209","M-staged-PR208","M-staged-PR198","M-staged-PR206","M-staged-PR182","M-staged-PR195","M-staged-PR199","M-staged-PR200","M-staged-PR196","M-staged-PR193","M-staged-PR181","M-staged-PR189","M-staged-PR176","M-staged-PR186","SQUID_4_0_24","M-staged-PR179","M-staged-PR170","M-staged-PR161","SQUID_4_0_23","SQUID_4_0_22","SQUID_4_0_21","SQUID_4_0_20","SQUID_4_0_19","SQUID_4_0_18","SQUID_4_0_17","SQUID_4_0_16","SQUID_4_0_15","SQUID_4_0_14","SQUID_4_0_13","SQUID_4_0_12","SQUID_4_0_11","SQUID_4_0_10","SQUID_4_0_9","SQUID_4_0_8","SQUID_4_0_7","SQUID_4_0_6","SQUID_4_0_5","SQUID_4_0_4","SQUID_4_0_3","SQUID_4_0_2","SQUID_4_0_1","take00","SQUID_3_0_RC1","SQUID_3_0_PRE7","SQUID_3_0_PRE6","SQUID_3_0_PRE5","SQUID_3_0_PRE4","SQUID_3_0_PRE3","SQUID_3_0_PRE2","SQUID_3_0_PRE1","HISTORIC_RELEASES"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-31807.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}