An issue was discovered in Varnish Cache before 6.0.6 LTS, 6.1.x and 6.2.x before 6.2.3, and 6.3.x before 6.3.2. It occurs when communication with a TLS termination proxy uses PROXY version 2. There can be an assertion failure and daemon restart, which causes a performance loss.
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 |
---|---|---|---|
Varnish_cache | Varnish-cache | 6.1.0 (including) | 6.2.3 (excluding) |
Varnish_cache | Varnish-cache | 6.3.0 (including) | 6.3.2 (excluding) |
Varnish_cache | Varnish-software | 6.0.0 (including) | 6.0.6 (excluding) |
Varnish | Ubuntu | eoan | * |
Varnish | Ubuntu | focal | * |
Varnish | Ubuntu | trusty | * |
Varnish | Ubuntu | xenial | * |
Red Hat Enterprise Linux 8 | RedHat | varnish:6-8030020200530080205.30b713e6 | * |
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.