You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The setter combination SSL_CTX_set_min_proto_version() and SSL_CTX_set_max_proto_version() as well as SSL_set_min_proto_version() and SSL_set_max_proto_version() accept invalid combinations of min and max protocol. For example it is possible to set a minimum version of TLS 1.2 but a maximum version of TLS 1.0. The helper function ssl_check_allowed_versions should prevent min_version > max_version.
The text was updated successfully, but these errors were encountered:
tiran
added a commit
to tiran/openssl
that referenced
this issue
Jan 21, 2018
SSL_CTX_set_min_proto_version() and SSL_CTX_set_max_proto_version() as
well as their SSL equivalents now validate that the mininum protocol
version is lower or requal the maximum protocol version.
Closes: openssl#5127
Signed-off-by: Christian Heimes <christian@python.org>
Discussion on #5128 indicates that this is not an issue, or rather, that valid combinations of setting min and max proto versions may validly progress through a state with the configured min > the configured max, so we cannot safely assert that that relation holds when setting either the min or max version.
So, closing (but leaving the pull request open for the added tests).
SSL_CTX_set_min_proto_version() and SSL_CTX_set_max_proto_version() as
well as their SSL equivalents now validate that the mininum protocol
version is lower or requal the maximum protocol version.
Closes: openssl#5127
Signed-off-by: Christian Heimes <christian@python.org>
The setter combination
SSL_CTX_set_min_proto_version()
andSSL_CTX_set_max_proto_version()
as well asSSL_set_min_proto_version()
andSSL_set_max_proto_version()
accept invalid combinations of min and max protocol. For example it is possible to set a minimum version of TLS 1.2 but a maximum version of TLS 1.0. The helper functionssl_check_allowed_versions
should preventmin_version > max_version
.The text was updated successfully, but these errors were encountered: