]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Fix remotely-triggerable ASSERT() on malformed IPv6 packet.
authorGert Doering <gert@greenie.muc.de>
Tue, 13 Jun 2017 20:08:32 +0000 (22:08 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 19 Jun 2017 15:43:59 +0000 (17:43 +0200)
commitc3f47077a7756de5929094569421a95aa66f2022
treee2709c3bfa7905e755ae9db687c25cb5b1e9411e
parent7718c8984f04b507c1885f363970e2124e3c6c77
Fix remotely-triggerable ASSERT() on malformed IPv6 packet.

Correct sanity checks on IPv6 packet length in mss_fixup_ipv6(),
and change the ASSERT() check in mss_fixup_dowork() into a simple
"return" (= the TCP header will simply not be inspected further).

CVE-2017-7508 has been assigned due to the serious nature of the
bug: it can be used to remotely shutdown an openvpn server or
client, if IPv6 and --mssfix are enabled and the IPv6 networks used
inside the VPN are known.

Found by Guido Vranken <guidovranken@gmail.com>.

v2: style changes

CVE: 2017-7508
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <20170613200832.15027-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/search?l=mid&q=20170613200832.15027-1-gert@greenie.muc.de
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/mss.c