CVE Vulnerabilities

CVE-2017-7521

Uncontrolled Resource Consumption

Published: Jun 27, 2017 | Modified: Apr 20, 2025
CVSS 3.x
5.9
MEDIUM
Source:
NVD
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 IMPORTANT
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

OpenVPN versions before 2.4.3 and before 2.3.17 are vulnerable to remote denial-of-service due to memory exhaustion caused by memory leaks and double-free issue in extract_x509_extension().

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

Name Vendor Start Version End Version
Openvpn Openvpn * 2.3.16 (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 Openvpn 2.4.2 (including) 2.4.2 (including)
Openvpn Ubuntu artful *
Openvpn Ubuntu devel *
Openvpn Ubuntu esm-infra-legacy/trusty *
Openvpn Ubuntu esm-infra/xenial *
Openvpn Ubuntu trusty *
Openvpn Ubuntu trusty/esm *
Openvpn Ubuntu upstream *
Openvpn Ubuntu xenial *
Openvpn Ubuntu yakkety *
Openvpn Ubuntu zesty *

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References