Buffer overflow in OpenVPN for Windows - CVE-2017-12166

 

Buffer overflow in OpenVPN for Windows - CVE-2017-12166

Published: September 29, 2017 / Updated: September 29, 2017


Vulnerability identifier: #VU8637
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-12166
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to boundary error in the read_key() function when "Key Method 1" is used. A remote unauthenticated attacker can send a specially crafted key, trigger buffer overflow and cause denial of service or execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

OpenVPN for Windows
Amazon Linux AMI
Arch Linux
Fedora
SUSE Linux
Ubuntu
openvpn (Alpine package)
openvpn (Ubuntu package)
openvpn

How to mitigate CVE-2017-12166

Update to version 2.4.4 or 2.3.18.

openvpn (Alpine package) - update to 2.3.18-r0
openvpn (Ubuntu package) - update to Ubuntu Pro
openvpn - addressed in versions 2.4.4-1.el6, 2.4.4-1.el7, 2.4.4-1.fc25, 2.4.4-1.fc26, 2.4.4-1.fc27

External References

Related Security Bulletins