Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 463984 - =net-misc/openvpn-2.3.1 version bump
Summary: =net-misc/openvpn-2.3.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Dirkjan Ochtman (RETIRED)
URL: https://community.openvpn.net/openvpn...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-31 11:51 UTC by Manuel Rüger (RETIRED)
Modified: 2013-05-03 07:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
PolarSSL build patch (openvpn-polarssl-ebuild.patch,1.24 KB, patch)
2013-04-21 07:54 UTC, Josh Cepek
Details | Diff
PolarSSL build patch v2 (openvpn-polarssl-ebuild-v2.patch,1.35 KB, patch)
2013-04-21 21:11 UTC, Josh Cepek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2013-03-31 11:51:30 UTC
OpenVPN 2.3.1 -- released on 2013.03.29

 This release adds supports for PolarSSL 1.2. It also adds a fix to prevent potential side-channel attacks by switching to a constant-time memcmp when comparing HMACs in the openvpn_decrypt function. In addition, it contains several bugfixes and documentation updates, as well as some minor enhancements.

Please add it to the tree
Comment 1 Josh Cepek 2013-04-17 18:34:50 UTC
Please note that this version does fix a security flaw that could potentially compromise the HMAC authentication. It would therefore be nice to get into the tree as soon as possible (more info on the security impact further below.)

I've bumped this version in my own local overlay with no issues during the build process. I haven't yet tried to integrate in PolarSSL support, but IMO it's more important to release the bump for security reasons than to get deps squared away for PolarSSL support.

While the attack has a somewhat specific set of requirements, successfully attacking the HMAC like this allows an external attacker to inject ciphertext packets into the stream, exposing the crypto routines. While this is not alone enough to "compromise" a VPN connection, it's one step closer. Any potential flaw in the crypto system, either within OpenVPN or the SSL library itself, would be needlessly exposed as a result.
Comment 2 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-04-17 20:38:16 UTC
My devbox is currently broken. I'll try to get this in the tree ASAP.
Comment 3 Josh Cepek 2013-04-21 07:54:37 UTC
Created attachment 346158 [details, diff]
PolarSSL build patch

I also went ahead and patched the ebuild (should apply cleanly to both of the current 2.3.0 and -9999 as a base) for the PolarSSL support provided in 2.3.1. I tested a resulting build with the feature enabled and the crypto works for me as expected.
Comment 4 Josh Cepek 2013-04-21 21:11:12 UTC
Created attachment 346236 [details, diff]
PolarSSL build patch v2

I've updated my prior patch; this one properly excludes openssl as a dependency if the polarssl USE flag is supplied, and requires ssl present when using polarssl.
Comment 5 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-05-03 07:41:20 UTC
This is in the tree now, thanks! Should we aim to stabilize it on an accelerated schedule?