[manjaro-security] [arch-security] [ASA-201709-21] openvpn: arbitrary code execution

Levente Polyak anthraxx at archlinux.org
Thu Sep 28 23:27:42 CEST 2017

Arch Linux Security Advisory ASA-201709-21

Severity: Medium
Date    : 2017-09-28
CVE-ID  : CVE-2017-12166
Package : openvpn
Type    : arbitrary code execution
Remote  : Yes
Link    : https://security.archlinux.org/AVG-420


The package openvpn before version 2.4.4-1 is vulnerable to arbitrary
code execution.


Upgrade to 2.4.4-1.

# pacman -Syu "openvpn>=2.4.4-1"

The problem has been fixed upstream in version 2.4.4.


Ensure 'key-method 2' is used (default value).


The bounds check in the read_key() function in OpenVPN before 2.4.4 and
2.3.18 was performed after using the value, instead of before.  If
'key-method 1' is used, this allowed an attacker to send a malformed
packet to trigger a stack buffer overflow.
Note that 'key-method 1' has been replaced by 'key method 2' as the
default in OpenVPN 2.0 (released on 2005-04-17), and explicitly
deprecated in 2.4 and marked for removal in 2.5. This should limit the
amount of users impacted by this issue.


A remote attacker is able to execute arbitrary code on the affected
host when an old key-method is configured.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 866 bytes
Desc: OpenPGP digital signature
URL: <http://lists.manjaro.org/pipermail/manjaro-security/attachments/20170928/ac5fa9be/attachment.sig>

More information about the manjaro-security mailing list