From d714137722eb68273bc736fd4543e768aeaa5dc7 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 24 Sep 2021 18:28:44 +0200 Subject: [PATCH] package/cryptopp: security bump to version 8.6.0 This release clears CVE-2021-40530 and fixes a problem with ChaCha20 AVX2 implementation. The CVE was due to ElGamal encryption using a work estimate to size encryption exponents instead subgroup order. The ChaCha20 issue was due to mishandling a carry in the AVX2 code path. The ChaCha20 issue was difficult to duplicate, so most users should not experience it. https://github.com/weidai11/cryptopp/releases/tag/CRYPTOPP_8_6_0 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/cryptopp/cryptopp.hash | 4 ++-- package/cryptopp/cryptopp.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/cryptopp/cryptopp.hash b/package/cryptopp/cryptopp.hash index 404d8a41ae..9a113b8f04 100644 --- a/package/cryptopp/cryptopp.hash +++ b/package/cryptopp/cryptopp.hash @@ -1,5 +1,5 @@ -# Hash from: https://www.cryptopp.com/release850.html: -sha512 090472545c74bbf0579b56b09e8b5dcd777b38f29f7199a2e68f45d4a8c687acc82f105ba8b2a38f9aa65e5997a3d846aaf2341ab74d58b4bbfd1f5f03823b93 cryptopp850.zip +# Hash from: https://www.cryptopp.com/release860.html: +sha512 e7773f5e4a7dc7e8e735b1702524bee56ba38e5211544c9c9778bc51ed8dc7b376c17f2e406410043b636312336f26f76dc963f298872f8c13933e88c232fc03 cryptopp860.zip # Hash for license file: sha256 e668af8c73a38a66a1e8951d14ec24e7582fee5254dd6c3dae488a416d105d5f License.txt diff --git a/package/cryptopp/cryptopp.mk b/package/cryptopp/cryptopp.mk index 1d303a67a0..6711a37fbc 100644 --- a/package/cryptopp/cryptopp.mk +++ b/package/cryptopp/cryptopp.mk @@ -4,7 +4,7 @@ # ################################################################################ -CRYPTOPP_VERSION = 8.5.0 +CRYPTOPP_VERSION = 8.6.0 CRYPTOPP_SOURCE = cryptopp$(subst .,,$(CRYPTOPP_VERSION)).zip CRYPTOPP_SITE = https://cryptopp.com CRYPTOPP_LICENSE = BSL-1.0, BSD-3-Clause (CRYPTOGAMS), Public domain (ChaCha SSE2 and AVX)