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.
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.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Squid | Squid-cache | 3.0 (including) | 3.5.28 (including) |
Squid | Squid-cache | 4.0 (including) | 4.17 (including) |
Squid | Squid-cache | 5.0 (including) | 5.6 (excluding) |
Red Hat Enterprise Linux 7 | RedHat | squid-7:3.5.20-17.el7_9.7 | * |
Red Hat Enterprise Linux 8 | RedHat | squid:4-8060020220628135610.ad008a3a | * |
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutions | RedHat | squid:4-8010020220628152104.c27ad7f8 | * |
Red Hat Enterprise Linux 8.2 Extended Update Support | RedHat | squid:4-8020020220628150849.4cda2c84 | * |
Red Hat Enterprise Linux 8.4 Extended Update Support | RedHat | squid:4-8040020220628150130.522a0ee4 | * |
Red Hat Enterprise Linux 9 | RedHat | squid-7:5.2-1.el9_0.1 | * |
Squid | Ubuntu | devel | * |
Squid | Ubuntu | focal | * |
Squid | Ubuntu | impish | * |
Squid | Ubuntu | jammy | * |
Squid | Ubuntu | kinetic | * |
Squid | Ubuntu | lunar | * |
Squid | Ubuntu | mantic | * |
Squid | Ubuntu | noble | * |
Squid | Ubuntu | oracular | * |
Squid | Ubuntu | trusty | * |
Squid | Ubuntu | upstream | * |
Squid3 | Ubuntu | bionic | * |
Squid3 | Ubuntu | esm-infra/xenial | * |
Squid3 | Ubuntu | trusty | * |
Squid3 | Ubuntu | xenial | * |
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.