From df745670e1225649053973f8dfab4cd0e8709f74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 10 Jul 2017 11:34:06 +0200 Subject: [PATCH] Add ChangeLog entry for the security issue --- ChangeLog | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 354fcaba5..9af619791 100644 --- a/ChangeLog +++ b/ChangeLog @@ -25,6 +25,14 @@ Bugfix to bypass the version verification check. Found by Peng Li/Yueh-Hsun Lin, KNOX Security, Samsung Research America +Security + * Fix authentication bypass in SSL/TLS: when auth_mode is set to optional, + ssl_get_verify_result() would incorrectly return 0 when the peer's + X.509 certificate chain had more than POLARSSL_X509_MAX_INTERMEDIATE_CA + (default: 8) intermediates, even when it was not trusted. Could be + trigerred remotely on both sides. (With auth_mode set to required + (default), the handshake was correctly aborted.) + Changes * Certificate verification functions now set flags to -1 in case the full chain was not verified due to an internal error (including in the verify