An issue was discovered in Squid before 5.0.2. A remote attacker can replay a sniffed Digest Authentication nonce to gain access to resources that are otherwise forbidden. This occurs because the attacker can overflow the nonce reference counter (a short integer). Remote code execution may occur if the pooled token credentials are freed (instead of replayed as valid credentials).
The product performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Squid | Squid-cache | 3.0 (including) | 3.5.28 (including) |
Squid | Squid-cache | 4.0 (including) | 4.11 (excluding) |
Squid | Squid-cache | 5.0 (including) | 5.0.2 (excluding) |
Red Hat Enterprise Linux 7 | RedHat | squid-7:3.5.20-15.el7_8.1 | * |
Red Hat Enterprise Linux 8 | RedHat | squid:4-8020020200430095908.4cda2c84 | * |
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | RedHat | squid:4-8000020200428154754.f8e95b4e | * |
Red Hat Enterprise Linux 8.1 Extended Update Support | RedHat | squid:4-8010020200429095057.c27ad7f8 | * |
Squid | Ubuntu | devel | * |
Squid | Ubuntu | eoan | * |
Squid | Ubuntu | focal | * |
Squid | Ubuntu | groovy | * |
Squid | Ubuntu | hirsute | * |
Squid | Ubuntu | trusty | * |
Squid | Ubuntu | upstream | * |
Squid3 | Ubuntu | bionic | * |
Squid3 | Ubuntu | precise/esm | * |
Squid3 | Ubuntu | trusty | * |
Squid3 | Ubuntu | xenial | * |