Page MenuHomeSolus

Update openvpn to 2.4.4 to address CVE-2017-12166
ClosedPublic

Authored by kyrios123 on Sep 26 2017, 7:47 AM.
Tags
Referenced Files
F10983782: D1089.diff
Sun, Jul 23, 3:28 PM
F10981998: D1089.id2627.diff
Sun, Jul 23, 9:03 AM
F10966027: D1089.diff
Thu, Jul 20, 1:43 AM
F10929327: D1089.id2627.diff
Jul 11 2023, 5:16 AM
F10816911: D1089.id.diff
Jun 1 2023, 4:30 AM
F10789168: D1089.id.diff
May 26 2023, 6:40 PM
F10753872: D1089.id2626.diff
May 16 2023, 7:14 PM
Subscribers
None

Details

Summary

Bug fixes

  • Fix issues when a pushed cipher via the Negotiable Crypto Parameters (NCP) is rejected by the remote side
  • Ignore --keysize when NCP have resulted in a changed cipher.
  • Configurations using --auth-nocache interface to provide user credentials (like NetworkManager) on client side with servers implementing authentication tokens (for example, using --auth-gen-token) will now behave correctly and not query the user for an, to them, unknown authentication token on renegotiations of the tunnel.
  • Fix bug causing invalid or corrupt SOCKS port number when changing the proxy via the management interface.
  • The man page should now have proper escaping of hyphens/minus characters and have seen some minor corrections.

Deprecated features

  • --no-replay is deprecated and will be removed in OpenVPN 2.5.
  • --keysize is deprecated in OpenVPN 2.4 and will be removed in v2.6

Security

  • CVE-2017-12166: Fix bounds check for configurations using --key-method 1. Before this fix, it could allow an attacker to send a malformed packet to trigger a stack overflow. This is considered to be a low risk issue, as --key-method 2 has been the default since OpenVPN 2.0 (released on 2005-04-17). This option is already deprecated in v2.4 and will be completely removed in v2.5.

Packaging

  • Add checks

Signed-off-by: Pierre-Yves <pyu@riseup.net>

Test Plan

Test SSL/TLS negotiations:

  • sudo openvpn --config sample/sample-config-files/loopback-client (in terminal #1)
  • sudo openvpn --config sample/sample-config-files/loopback-server (simultaneously in terminal #2)

Diff Detail

Repository
R2261 openvpn
Lint
Lint Not Applicable
Unit
Tests Not Applicable