]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Restrict --x509-alt-username extension types
authorSteffan Karger <steffan.karger@fox-it.com>
Mon, 19 Jun 2017 09:28:39 +0000 (11:28 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 19 Jun 2017 15:35:11 +0000 (17:35 +0200)
commitd2a19185fd78030ce4a1bba6c9f83e0dac9e15a6
treefe10c6a27fad841ac148b171e56301f256399fb0
parent2d032c7fcdfd692c851ea2fa858b4c2d9ea7d52d
Restrict --x509-alt-username extension types

The code never supported all extension types.  Make this explicit by only
allowing subjectAltName and issuerAltName (for which the current code does
work).

Using unsupported extension fields would most likely cause OpenVPN to crash
as soon as a client connects.  This does not have a real-world security
impact, as such a configuration would not be possible to use in practice.

This bug was discovered, analysed and reported to the OpenVPN team by
Guido Vranken.

Signed-off-by: Steffan Karger <steffan.karger@fox-it.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
Acked-by: David Sommerseth <davids@openvpn.net>
Acked-by: Guido Vranken <guidovranken@gmail.com>
Message-Id: <1497864520-12219-5-git-send-email-steffan.karger@fox-it.com>
URL: https://www.mail-archive.com/search?l=mid&q=1497864520-12219-5-git-send-email-steffan.karger@fox-it.com
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Changes.rst
doc/openvpn.8
src/openvpn/options.c
src/openvpn/ssl_verify_backend.h
src/openvpn/ssl_verify_openssl.c