Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-37135

TLSVersionCounts needs to track and report TLS 1.3

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.9, 4.0.4, 4.1.4, 3.4.24
    • Affects Version/s: None
    • Component/s: Security
    • Labels:
    • Fully Compatible
    • v4.0, v3.6, v3.4
    • Security 2018-10-08, Security 2018-10-22

      ArchLinux has just received packages for OpenSSL 1.1.1, which provides support for TLS 1.3.

      ssl_manager_openssl.cpp attempts to increment TLS version counts for TLS 1.3, if it is compiled against a version of OpenSSL which exposes a relevant preprocessor macro. However, TLSVersionCounts is missing the member variable which needs to be incremented.

      This causes compilation to fail.

      We likely additionally need an "unknown" field. MongoDB binaries compiled against old versions of OpenSSL, but dynamically linked against newer versions may be able to negotiate TLS 1.3 while not having access to compile time constants which identify the protocol.

      In order to test this functionality, we will need to add support for TLS 1.3 to be used in tlsDisableProtocols, on platforms that support the protocol

            spencer.jackson@mongodb.com Spencer Jackson
            spencer.jackson@mongodb.com Spencer Jackson
            2 Vote for this issue
            5 Start watching this issue