Skip to content
Snippets Groups Projects
  • Hauke Mehrtens's avatar
    57f38e2c
    mbedtls: Update to version 2.16.12 · 57f38e2c
    Hauke Mehrtens authored
    
    This fixes the following security problems:
    * Zeroize several intermediate variables used to calculate the expected
      value when verifying a MAC or AEAD tag. This hardens the library in
      case the value leaks through a memory disclosure vulnerability. For
      example, a memory disclosure vulnerability could have allowed a
      man-in-the-middle to inject fake ciphertext into a DTLS connection.
    * Fix a double-free that happened after mbedtls_ssl_set_session() or
      mbedtls_ssl_get_session() failed with MBEDTLS_ERR_SSL_ALLOC_FAILED
      (out of memory). After that, calling mbedtls_ssl_session_free()
      and mbedtls_ssl_free() would cause an internal session buffer to
      be free()'d twice. CVE-2021-44732
    
    The sizes of the ipk changed on MIPS 24Kc like this:
    182454 libmbedtls12_2.16.11-2_mips_24kc.ipk
    182742 libmbedtls12_2.16.12-1_mips_24kc.ipk
    
    Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
    57f38e2c
    History
    mbedtls: Update to version 2.16.12
    Hauke Mehrtens authored
    
    This fixes the following security problems:
    * Zeroize several intermediate variables used to calculate the expected
      value when verifying a MAC or AEAD tag. This hardens the library in
      case the value leaks through a memory disclosure vulnerability. For
      example, a memory disclosure vulnerability could have allowed a
      man-in-the-middle to inject fake ciphertext into a DTLS connection.
    * Fix a double-free that happened after mbedtls_ssl_set_session() or
      mbedtls_ssl_get_session() failed with MBEDTLS_ERR_SSL_ALLOC_FAILED
      (out of memory). After that, calling mbedtls_ssl_session_free()
      and mbedtls_ssl_free() would cause an internal session buffer to
      be free()'d twice. CVE-2021-44732
    
    The sizes of the ipk changed on MIPS 24Kc like this:
    182454 libmbedtls12_2.16.11-2_mips_24kc.ipk
    182742 libmbedtls12_2.16.12-1_mips_24kc.ipk
    
    Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>