package/mbedtls: security bump to version 2.16.8
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Tue, 1 Sep 2020 18:15:03 +0000 (20:15 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 1 Sep 2020 18:45:47 +0000 (20:45 +0200)
Fix a "Local side channel attack on classical CBC decryption in (D)TLS"
a.k.a. CVE-2020-16150:
https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-09-1

as well as a "Local side channel attack on RSA and static
Diffie-Hellman" (no CVE):
https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2020-09-2

Also change MBEDTLS_SITE and retrieve hash provided by upstream

https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.8

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/mbedtls/mbedtls.hash
package/mbedtls/mbedtls.mk

index b75a8fa80c031fc04ae86e5f0fb6c373ccec712d..0082eee4a21eb39e2b359f032800e733d4938c65 100644 (file)
@@ -1,3 +1,4 @@
+# From https://github.com/ARMmbed/mbedtls/releases/tag/v2.16.8:
+sha256  fe9e3b15c3375943bdfebbbb20dd6b4f1147b3b5d926248bd835d73247407430  mbedtls-2.16.8.tar.gz
 # Locally calculated
-sha256  4786b7d1676f5e4d248f3a7f2d28446876d64962634f060ff21b92c690cfbe86  mbedtls-2.16.7.tar.gz
 sha256  cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30  apache-2.0.txt
index 4ae8291c115b46b76d2959d39e12323c7530b7cb..5094434e6c3cba74f161d2f615d95082964c8a3b 100644 (file)
@@ -4,8 +4,8 @@
 #
 ################################################################################
 
-MBEDTLS_VERSION = 2.16.7
-MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,mbedtls-$(MBEDTLS_VERSION))
+MBEDTLS_VERSION = 2.16.8
+MBEDTLS_SITE = $(call github,ARMmbed,mbedtls,v$(MBEDTLS_VERSION))
 MBEDTLS_CONF_OPTS = \
        -DENABLE_PROGRAMS=$(if $(BR2_PACKAGE_MBEDTLS_PROGRAMS),ON,OFF) \
        -DENABLE_TESTING=OFF