CVE Vulnerabilities

CVE-2021-46784

Reachable Assertion

Published: Jul 17, 2022 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

In Squid 3.x through 3.5.28, 4.x through 4.17, and 5.x before 5.6, due to improper buffer management, a Denial of Service can occur when processing long Gopher server responses.

Weakness

The product contains an assert() or similar statement that can be triggered by an attacker, which leads to an application exit or other behavior that is more severe than necessary.

Affected Software

NameVendorStart VersionEnd Version
SquidSquid-cache3.0 (including)3.5.28 (including)
SquidSquid-cache4.0 (including)4.17 (including)
SquidSquid-cache5.0 (including)5.6 (excluding)
Red Hat Enterprise Linux 7RedHatsquid-7:3.5.20-17.el7_9.7*
Red Hat Enterprise Linux 8RedHatsquid:4-8060020220628135610.ad008a3a*
Red Hat Enterprise Linux 8.1 Update Services for SAP SolutionsRedHatsquid:4-8010020220628152104.c27ad7f8*
Red Hat Enterprise Linux 8.2 Extended Update SupportRedHatsquid:4-8020020220628150849.4cda2c84*
Red Hat Enterprise Linux 8.4 Extended Update SupportRedHatsquid:4-8040020220628150130.522a0ee4*
Red Hat Enterprise Linux 9RedHatsquid-7:5.2-1.el9_0.1*
SquidUbuntudevel*
SquidUbuntuesm-infra/focal*
SquidUbuntufocal*
SquidUbuntuimpish*
SquidUbuntujammy*
SquidUbuntukinetic*
SquidUbuntulunar*
SquidUbuntumantic*
SquidUbuntunoble*
SquidUbuntuoracular*
SquidUbuntuplucky*
SquidUbuntuquesting*
SquidUbuntutrusty*
SquidUbuntuupstream*
Squid3Ubuntubionic*
Squid3Ubuntuesm-infra/bionic*
Squid3Ubuntuesm-infra/xenial*
Squid3Ubuntutrusty*
Squid3Ubuntuxenial*

Extended Description

While assertion is good for catching logic errors and reducing the chances of reaching more serious vulnerability conditions, it can still lead to a denial of service. For example, if a server handles multiple simultaneous connections, and an assert() occurs in one single connection that causes all other connections to be dropped, this is a reachable assertion that leads to a denial of service.

Potential Mitigations

References