OpenVPN versions before 2.3.15 and before 2.4.2 are vulnerable to reachable assertion when packet-ID counter rolls over resulting into Denial of Service of server by authenticated attacker.
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 |
---|---|---|---|
Openvpn | Openvpn | * | 2.3.14 (including) |
Openvpn | Openvpn | 2.4.0 (including) | 2.4.0 (including) |
Openvpn | Openvpn | 2.4.0-alpha2 (including) | 2.4.0-alpha2 (including) |
Openvpn | Openvpn | 2.4.0-beta1 (including) | 2.4.0-beta1 (including) |
Openvpn | Openvpn | 2.4.0-beta2 (including) | 2.4.0-beta2 (including) |
Openvpn | Openvpn | 2.4.0-rc1 (including) | 2.4.0-rc1 (including) |
Openvpn | Openvpn | 2.4.0-rc2 (including) | 2.4.0-rc2 (including) |
Openvpn | Openvpn | 2.4.1 (including) | 2.4.1 (including) |
Openvpn | Ubuntu | precise | * |
Openvpn | Ubuntu | precise/esm | * |
Openvpn | Ubuntu | trusty | * |
Openvpn | Ubuntu | upstream | * |
Openvpn | Ubuntu | vivid/stable-phone-overlay | * |
Openvpn | Ubuntu | xenial | * |
Openvpn | Ubuntu | yakkety | * |
Openvpn | Ubuntu | zesty | * |
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.