Vulnerability Name:

CVE-2021-31808 (CCN-202677)

Assigned:2021-05-10
Published:2021-05-10
Updated:2022-07-12
Summary: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.
CVSS v3 Severity:6.5 Medium (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
5.7 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
6.5 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
5.7 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
6.5 Medium (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
5.7 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): High
CVSS v2 Severity:4.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:N/I:N/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Partial
6.8 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:N/I:N/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): None
Availibility (A): Complete
Vulnerability Type:CWE-190
Vulnerability Consequences:Denial of Service
References:Source: MITRE
Type: CNA
CVE-2021-31808

Source: MISC
Type: Exploit, Patch, Vendor Advisory
http://www.squid-cache.org/Versions/v4/changesets/squid-4-e7cf864f938f24eea8af0692c04d16790983c823.patch

Source: CCN
Type: Red Hat Bugzilla – Bug 1962597
(CVE-2021-31807) - CVE-2021-31807 squid: incorrect memory management in HTTP Range header

Source: XF
Type: UNKNOWN
squidcache-cve202131808-dos(202677)

Source: CCN
Type: SQUID-2021:4
Multiple Issues in HTTP Range header

Source: MISC
Type: Patch, Third Party Advisory
https://github.com/squid-cache/squid/security/advisories/GHSA-pxwq-f3qr-w2xf

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20210614 [SECURITY] [DLA 2685-1] squid3 security update

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-c0bec55ec7

Source: FEDORA
Type: Mailing List, Third Party Advisory
FEDORA-2021-24af72ff2c

Source: CONFIRM
Type: Third Party Advisory
https://security.netapp.com/advisory/ntap-20210716-0007/

Source: DEBIAN
Type: Third Party Advisory
DSA-4924

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2021-31808

Vulnerable Configuration:Configuration 1:
  • cpe:/a:squid-cache:squid:*:*:*:*:*:*:*:* (Version >= 5.0 and < 5.0.6)
  • OR cpe:/a:squid-cache:squid:*:*:*:*:*:*:*:* (Version < 4.15)

  • Configuration 2:
  • cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*

  • Configuration 3:
  • cpe:/a:netapp:cloud_manager:-:*:*:*:*:*:*:*

  • Configuration 4:
  • cpe:/o:fedoraproject:fedora:33:*:*:*:*:*:*:*
  • OR cpe:/o:fedoraproject:fedora:34:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/a:redhat:enterprise_linux:8:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/a:redhat:enterprise_linux:8::appstream:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:squid-cache:squid:3.0.stable1:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.0.stable2:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.0.stable3:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.0.stable4:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:2.6.stable18:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:2.6.stable19:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:2.6.stable20:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:2.7:-:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.4:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.0.stable5:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.0.stable6:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.0.stable7:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:2.7:stable4:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:2.7:stable3:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:2.7:stable2:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.0.stable12:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.0.stable11:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.0.stable10:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.0.stable9:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.0.stable8:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.3:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.4:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.0.stable13:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:2.7:stable6:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.10:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.12:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.13:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.14:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.16:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.17:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.18:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.5:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.6:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.7:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.8:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.0.9:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.1:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.3:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.7:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.8:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.9:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.10:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.11:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.12:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.13:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.14:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.2:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.3:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.4:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.5:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.6:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.7:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.8:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.9:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.10:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.19:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.15:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.22:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.11:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.12:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.1:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.19:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.18:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.17:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.16:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.15:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.14:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.0.13:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.3:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.2:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.4:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.5:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2.7:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.3:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.4:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.4.6:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.4.7:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.5:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.2:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.5.5:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.5.8:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.5.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.5.13:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:5.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:4.14:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:5.0.5:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:4.0.1:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.redhat.rhsa:def:20214292
    P
    RHSA-2021:4292: squid:4 security, bug fix, and enhancement update (Moderate)
    2021-11-09
    BACK
    squid-cache squid *
    squid-cache squid *
    debian debian linux 9.0
    debian debian linux 10.0
    netapp cloud manager -
    fedoraproject fedora 33
    fedoraproject fedora 34
    squid-cache squid 3.0.stable1
    squid-cache squid 3.0.stable2
    squid-cache squid 3.0.stable3
    squid-cache squid 3.0.stable4
    squid-cache squid 2.6.stable18
    squid-cache squid 2.6.stable19
    squid-cache squid 2.6.stable20
    squid-cache squid 2.7
    squid-cache squid 3.1
    squid-cache squid 3.1.4
    squid-cache squid 3.0.stable5
    squid-cache squid 3.0.stable6
    squid-cache squid 3.0.stable7
    squid-cache squid 2.7 stable4
    squid-cache squid 2.7 stable3
    squid-cache squid 2.7 stable2
    squid-cache squid 3.0.stable12
    squid-cache squid 3.0.stable11
    squid-cache squid 3.0.stable10
    squid-cache squid 3.0.stable9
    squid-cache squid 3.0.stable8
    squid-cache squid 3.1.0.1
    squid-cache squid 3.1.0.2
    squid-cache squid 3.1.0.3
    squid-cache squid 3.1.0.4
    squid-cache squid 3.0.stable13
    squid-cache squid 2.7 stable6
    squid-cache squid 3.1.0.10
    squid-cache squid 3.1.0.12
    squid-cache squid 3.1.0.13
    squid-cache squid 3.1.0.14
    squid-cache squid 3.1.0.16
    squid-cache squid 3.1.0.17
    squid-cache squid 3.1.0.18
    squid-cache squid 3.1.0.5
    squid-cache squid 3.1.0.6
    squid-cache squid 3.1.0.7
    squid-cache squid 3.1.0.8
    squid-cache squid 3.1.0.9
    squid-cache squid 3.1.1
    squid-cache squid 3.1.2
    squid-cache squid 3.1.3
    squid-cache squid 3.1.7
    squid-cache squid 3.1.8
    squid-cache squid 3.1.9
    squid-cache squid 3.1.10
    squid-cache squid 3.1.11
    squid-cache squid 3.1.12
    squid-cache squid 3.1.13
    squid-cache squid 3.1.14
    squid-cache squid 3.2.0.1
    squid-cache squid 3.2.0.2
    squid-cache squid 3.2.0.3
    squid-cache squid 3.2.0.4
    squid-cache squid 3.2.0.5
    squid-cache squid 3.2.0.6
    squid-cache squid 3.2.0.7
    squid-cache squid 3.2.0.8
    squid-cache squid 3.2.0.9
    squid-cache squid 3.2.0.10
    squid-cache squid 3.1.19
    squid-cache squid 3.1.15
    squid-cache squid 3.1.22
    squid-cache squid 3.2.0.11
    squid-cache squid 3.2.0.12
    squid-cache squid 3.2.1
    squid-cache squid 3.2.0.19
    squid-cache squid 3.2.0.18
    squid-cache squid 3.2.0.17
    squid-cache squid 3.2.0.16
    squid-cache squid 3.2.0.15
    squid-cache squid 3.2.0.14
    squid-cache squid 3.2.0.13
    squid-cache squid 3.2.3
    squid-cache squid 3.2.2
    squid-cache squid 3.2.4
    squid-cache squid 3.2.5
    squid-cache squid 3.2.7
    squid-cache squid 3.3
    squid-cache squid 3.4
    squid-cache squid 3.4.6
    squid-cache squid 3.4.7
    squid-cache squid 3.5
    squid-cache squid 3.2
    squid-cache squid 3.5.5
    squid-cache squid 3.5.8
    squid-cache squid 3.5.0.1
    squid-cache squid 3.5.13
    squid-cache squid 5.0.1
    squid-cache squid 4.14
    squid-cache squid 5.0.5
    squid-cache squid 4.0.1