mbedtls: update to version 2.7.5
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 10 Aug 2018 19:54:02 +0000 (21:54 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 10 Aug 2018 20:56:50 +0000 (22:56 +0200)
This fixes the following security problems:
* CVE-2018-0497: Remote plaintext recovery on use of CBC based ciphersuites through a timing side-channel
* CVE-2018-0498: Plaintext recovery on use of CBC based ciphersuites through a cache based side-channel

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/libs/mbedtls/Makefile
package/libs/mbedtls/patches/300-soversion-compatibility.patch

index 80ec17b4e2dd91fc3d98f2c79546c1bc5972e437..af9761042b43e2efb7fe5753226c0839b3489572 100644 (file)
@@ -8,13 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mbedtls
-PKG_VERSION:=2.7.3
+PKG_VERSION:=2.7.5
 PKG_RELEASE:=1
 PKG_USE_MIPS16:=0
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-gpl.tgz
 PKG_SOURCE_URL:=https://tls.mbed.org/download/
-PKG_HASH:=f1cd52824d1d5b4205c4255501764c5a02a77f029193683b3063bef584e97947
+PKG_HASH:=e9d797ded824e1ca7516faab7fa3c4c73c5bc3199b832a06f61ee8709df71a69
 
 PKG_BUILD_PARALLEL:=1
 PKG_LICENSE:=GPL-2.0+
index 320482c7cde36b2b141d7140e1c4df5a53dfafe8..dc957871eaf7defea2f893ca89298aaa0e4ec2a5 100644 (file)
@@ -8,8 +8,8 @@ the new library with binaries compiled against the old library.
  
  if(USE_SHARED_MBEDTLS_LIBRARY)
      add_library(mbedcrypto SHARED ${src_crypto})
--    set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.3 SOVERSION 2)
-+    set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.3 SOVERSION 0)
+-    set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.5 SOVERSION 2)
++    set_target_properties(mbedcrypto PROPERTIES VERSION 2.7.5 SOVERSION 0)
      target_link_libraries(mbedcrypto ${libs})
  
      add_library(mbedx509 SHARED ${src_x509})