CVE Vulnerabilities

CVE-2017-7521

Double Free

Published: Jun 27, 2017 | Modified: Oct 03, 2019
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
Ubuntu

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 calls free() twice on the same memory address, potentially leading to modification of unexpected memory locations.

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)

Potential Mitigations

References