An issue was discovered in Varnish Cache before 6.0.4 LTS, and 6.1.x and 6.2.x before 6.2.1. An HTTP/1 parsing failure allows a remote attacker to trigger an assert by sending crafted HTTP/1 requests. The assert will cause an automatic restart with a clean cache, which makes it a Denial of Service attack.
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-software | 6.0.0 (including) | 6.0.4 (excluding) |
Varnish_cache | Varnish_cache_project | 6.1.0 (including) | 6.1.1 (including) |
Varnish_cache | Varnish_cache_project | 6.2.0 (including) | 6.2.1 (excluding) |
Red Hat Enterprise Linux 8 | RedHat | varnish:6-8030020200530080205.30b713e6 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-varnish6-0:4.1-6.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-varnish6-varnish-0:6.0.6-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7 | RedHat | rh-varnish6-varnish-modules-0:0.15.0-6.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-varnish6-0:4.1-6.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-varnish6-varnish-0:6.0.6-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | RedHat | rh-varnish6-varnish-modules-0:0.15.0-6.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-varnish6-0:4.1-6.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-varnish6-varnish-0:6.0.6-1.el7 | * |
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | RedHat | rh-varnish6-varnish-modules-0:0.15.0-6.el7 | * |
Varnish | Ubuntu | disco | * |
Varnish | Ubuntu | eoan | * |
Varnish | Ubuntu | trusty | * |
Varnish | Ubuntu | upstream | * |
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.