]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Drop too-short control channel packets instead of asserting out.
authorSteffan Karger <steffan.karger@fox-it.com>
Thu, 20 Nov 2014 12:43:05 +0000 (13:43 +0100)
committerGert Doering <gert@greenie.muc.de>
Fri, 28 Nov 2014 19:28:53 +0000 (20:28 +0100)
commitc5590a6821e37f3b29735f55eb0c2b9c0924138c
treed8750d54bdcd1af8dc8f18bac6e0cb8b3caa75ea
parent65eedc353349d2967fc03c54da807727e416e1b0
Drop too-short control channel packets instead of asserting out.

This fixes a denial-of-service vulnerability where an authenticated client
could stop the server by triggering a server-side ASSERT().

OpenVPN would previously ASSERT() that control channel packets have a
payload of at least 4 bytes. An authenticated client could trigger this
assert by sending a too-short control channel packet to the server.

Thanks to Dragana Damjanovic for reporting the issue.

This bug has been assigned CVE-2014-8104.

Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <1CED409804E2164C8104F9E623B08B9018803B0FE7@FOXDFT02.FOX.local>
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl.c