Bug 21125 - openvpn new security issues CVE-2017-7508, CVE-2017-7512, CVE-2017-7520, CVE-2017-7521, CVE-2017-7522
Summary: openvpn new security issues CVE-2017-7508, CVE-2017-7512, CVE-2017-7520, CVE-...
Alias: None
Product: Mageia
Classification: Unclassified
Component: Security (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact: Sec team
Depends on:
Reported: 2017-06-21 18:59 CEST by Stefan Puch
Modified: 2017-07-14 07:36 CEST (History)
3 users (show)

See Also:
Source RPM: openvpn-2.3.16-1.mga5, openvpn-2.4.0-2.mga6
Status comment:


Description Stefan Puch 2017-06-21 18:59:36 CEST
OpenVPN developers have released a security update to OpenVPN 2.4.3 and 2.3.17. "We recommend you to upgrade to OpenVPN 2.4.3 or 2.3.17 as soon as possible."


Cauldron (OpenVPN 2.4.0) may also be affected? Fixes from 2.4.1 and 2.4.2 were backported.
Comment 1 Marja van Waes 2017-06-21 19:38:13 CEST
Assigning to registered maintainer
Comment 2 David Walser 2017-06-22 00:14:53 CEST
openSUSE has issued an advisory for this today (June 21):
Comment 3 Bruno Cornec 2017-06-22 01:20:51 CEST
Any reason why we have not updated to 2.4.3 and are sticking to 2.4.0 ?
Comment 4 Bruno Cornec 2017-06-22 01:35:34 CEST
FTR, I have now in my SVN a built 2.4.3 version so let me know if you want me to push it.
Comment 5 David Walser 2017-06-22 01:47:14 CEST
(In reply to Bruno Cornec from comment #3)
> Any reason why we have not updated to 2.4.3 and are sticking to 2.4.0 ?

Yes, if you look at the changes even just going to 2.4.1 in the Fedora package, it looks to be a non-trivial update.

(In reply to Bruno Cornec from comment #4)
> FTR, I have now in my SVN a built 2.4.3 version so let me know if you want
> me to push it.

As long as I don't have to do the work to update it, if it works, I'm happy to have it updated.
Comment 6 Bruno Cornec 2017-06-23 01:14:48 CEST
Ok. Works for me locally once installed on mga5. Freeze push asked.
Comment 7 Bruno Cornec 2017-06-23 01:21:34 CEST
To be clearer, I asked for a freeze push of 2.4.3 for mga6/cauldron, and I have also pushed 2.3.17 to mga5 updates.
Comment 8 David Walser 2017-06-23 23:57:50 CEST
Fedora has issued an advisory for this today (June 23):

Bruno, you should sync with Fedora for Cauldron, as you updated it but it failed to build.

Package list for the Mageia 5 update:
Comment 9 David Walser 2017-06-24 00:31:21 CEST
If we need to go back to 2.4.0, Ubuntu has patches:
Comment 10 David Walser 2017-06-26 01:10:09 CEST
It looks like Bruno fixed this for Cauldron.  Thanks!

Now we just need an advisory for the Mageia 5 update.
Comment 11 Stefan Puch 2017-07-07 11:36:31 CEST
Would it be an option to sync the referenced advisory from Fedora to get some progress to this issue?
Comment 12 David Walser 2017-07-08 17:54:53 CEST

Updated openvpn packages fix security vulnerabilities:

It was possible to trigger an assertion by sending a malformed IPv6
packet. That issue could have been abused to remotely shutdown an
openvpn server or client, if IPv6 and --mssfix were enabled and if the
IPv6 networks used inside the VPN were known (CVE-2017-7508).

Some parts of the certificate-parsing code did not always clear all
allocated memory. This would have allowed clients to leak a few bytes of
memory for each connection attempt, thereby facilitating a (quite
inefficient) DoS attack on the server (CVE-2017-7512).

If clients used a HTTP proxy with NTLM authentication, a
man-in-the-middle attacker between client and proxy could cause the
client to crash or disclose at most 96 bytes of stack memory. The
disclosed stack memory was likely to contain the proxy password. If the
proxy password had not been reused, this was unlikely to compromise the
security of the OpenVPN tunnel itself. Clients who did not use the
--http-proxy option with ntlm2 authentication were not affected

The ASN1 parsing code contained a bug that could have resulted in some
buffers being free()d twice, and this issue could have potentially been
triggered remotely by a VPN peer (CVE-2017-7521).


Updated packages in core/updates_testing:

from openvpn-2.3.17-1.mga5.src.rpm
Comment 13 Stefan Puch 2017-07-14 07:36:42 CEST
I installed the updated version from testing on my i586 system. I had no problems during update, the restart of the service was fine and I'm running the new version with my previous config now for three days without any problems.
Thx for the update.

Note You need to log in before you can comment on or make changes to this bug.