summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-08-10 21:54:02 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-08-10 22:56:50 +0200
commit5886a5060a4cd17e87a60028d878525150075653 (patch)
tree086eed06d26edbf23d3c2cfb5c26f09a3df2ce4d
parent9bc43f3e65bc8e0bb3d0c5ea8ff906111197afb9 (diff)
downloadmtk-20170518-5886a5060a4cd17e87a60028d878525150075653.zip
mtk-20170518-5886a5060a4cd17e87a60028d878525150075653.tar.gz
mtk-20170518-5886a5060a4cd17e87a60028d878525150075653.tar.bz2
mbedtls: update to version 2.7.5
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>
-rw-r--r--package/libs/mbedtls/Makefile4
-rw-r--r--package/libs/mbedtls/patches/300-soversion-compatibility.patch4
2 files changed, 4 insertions, 4 deletions
diff --git a/package/libs/mbedtls/Makefile b/package/libs/mbedtls/Makefile
index 80ec17b..af97610 100644
--- a/package/libs/mbedtls/Makefile
+++ b/package/libs/mbedtls/Makefile
@@ -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+
diff --git a/package/libs/mbedtls/patches/300-soversion-compatibility.patch b/package/libs/mbedtls/patches/300-soversion-compatibility.patch
index 320482c..dc95787 100644
--- a/package/libs/mbedtls/patches/300-soversion-compatibility.patch
+++ b/package/libs/mbedtls/patches/300-soversion-compatibility.patch
@@ -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})