redis: upgrade 6.2.2 -> 6.2.6
PATCH 1/1 redis: upgrade 6.2.2 -> 6.2.6
From: Changqing Li <[email protected]>
refer https://redis.io/, this upgrade container sereval CVE fixes.
Signed-off-by Changqing Li <[email protected]>
---
.../0001-src-Do-not-reset-FINAL_LIBS.patch | 10 +-
.../redis/redis/CVE-2021-32626.patch | 148 ---
.../redis/CVE-2021-32627-CVE-2021-32628.patch | 873 ------------------
.../redis/redis/CVE-2021-32675.patch | 129 ---
.../redis/redis/CVE-2021-32687.patch | 67 --
.../redis/redis/CVE-2021-32761.patch | 257 ------
.../redis/redis/CVE-2021-32762.patch | 68 --
.../redis/redis/CVE-2021-41099.patch | 47 -
.../redis/redis/fix-CVE-2021-29477.patch | 35 -
.../redis/redis/fix-CVE-2021-29478.patch | 42 -
.../redis/redis/fix-CVE-2021-32625.patch | 61 --
.../redis/{redis_6.2.2.bb => redis_6.2.6.bb} | 15 +-
12 files changed, 6 insertions(+), 1746 deletions(-)
delete mode 100644 meta-oe/recipes-extended/redis/redis/CVE-2021-32626.patch
delete mode 100644 meta-oe/recipes-extended/redis/redis/CVE-2021-32627-CVE-2021-32628.patch
delete mode 100644 meta-oe/recipes-extended/redis/redis/CVE-2021-32675.patch
delete mode 100644 meta-oe/recipes-extended/redis/redis/CVE-2021-32687.patch
delete mode 100644 meta-oe/recipes-extended/redis/redis/CVE-2021-32761.patch
delete mode 100644 meta-oe/recipes-extended/redis/redis/CVE-2021-32762.patch
delete mode 100644 meta-oe/recipes-extended/redis/redis/CVE-2021-41099.patch
delete mode 100644 meta-oe/recipes-extended/redis/redis/fix-CVE-2021-29477.patch
delete mode 100644 meta-oe/recipes-extended/redis/redis/fix-CVE-2021-29478.patch
delete mode 100644 meta-oe/recipes-extended/redis/redis/fix-CVE-2021-32625.patch
rename meta-oe/recipes-extended/redis/{redis_6.2.2.bb => redis_6.2.6.bb} (75%)meta-oe/recipes-extended/redis/redis/0001-src-Do-not-reset-FINAL_LIBS.patch +5 -5
@@ -1,4 +1,4 @@ -From 97584e1eb78dc18599534b47b6670c20c63f5ee2 Mon Sep 17 00:00:00 2001 +From aff8b278bd36085036d302027bc215483ad7f32b Mon Sep 17 00:00:00 2001 From: Khem Raj <[email protected]> Date: Tue, 10 Sep 2019 20:04:26 -0700 Subject: [PATCH] src: Do not reset FINAL_LIBS
@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile -index 7f7c625..c71dd3b 100644 +index 7a7168c..d0680e8 100644 --- a/src/Makefile +++ b/src/Makefile -@@ -75,7 +75,7 @@ endif +@@ -91,7 +91,7 @@ endif FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS) FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
@@ -26,7 +26,7 @@ index 7f7c625..c71dd3b 100644 +FINAL_LIBS+=-lm DEBUG=-g -ggdb - # Linux ARM needs -latomic at linking time + # Linux ARM32 needs -latomic at linking time -- -2.23.0 +2.17.1
meta-oe/recipes-extended/redis/redis/CVE-2021-32626.patch deleted +0 -148
148 lines not on this page · raw message
meta-oe/recipes-extended/redis/redis/CVE-2021-32627-CVE-2021-32628.patch deleted +0 -873
873 lines not on this page · raw message
meta-oe/recipes-extended/redis/redis/CVE-2021-32675.patch deleted +0 -129
129 lines not on this page · raw message
meta-oe/recipes-extended/redis/redis/CVE-2021-32687.patch deleted +0 -67
67 lines not on this page · raw message
meta-oe/recipes-extended/redis/redis/CVE-2021-32761.patch deleted +0 -257
257 lines not on this page · raw message
meta-oe/recipes-extended/redis/redis/CVE-2021-32762.patch deleted +0 -68
68 lines not on this page · raw message
meta-oe/recipes-extended/redis/redis/CVE-2021-41099.patch deleted +0 -47
47 lines not on this page · raw message
meta-oe/recipes-extended/redis/redis/fix-CVE-2021-29477.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From f0c5f920d0f88bd8aa376a2c05af4902789d1ef9 Mon Sep 17 00:00:00 2001 -From: Oran Agra <[email protected]> -Date: Mon, 3 May 2021 08:32:31 +0300 -Subject: [PATCH] Fix integer overflow in STRALGO LCS (CVE-2021-29477) - -An integer overflow bug in Redis version 6.0 or newer could be exploited using -the STRALGO LCS command to corrupt the heap and potentially result with remote -code execution. - -CVE: CVE-2021-29477 -Upstream-Status: Backport -[https://github.com/redis/redis/commit/f0c5f920d0f88bd8aa376a2c05af4902789d1ef9] - -Signed-off-by: Tony Tascioglu <[email protected]> - ---- - src/t_string.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/t_string.c b/src/t_string.c -index 9228c5ed0..db6f7042e 100644 ---- a/src/t_string.c -+++ b/src/t_string.c -@@ -805,7 +805,7 @@ void stralgoLCS(client *c) { - /* Setup an uint32_t array to store at LCS[i,j] the length of the - * LCS A0..i-1, B0..j-1. Note that we have a linear array here, so - * we index it as LCS[j+(blen+1)*j] */ -- uint32_t *lcs = zmalloc((alen+1)*(blen+1)*sizeof(uint32_t)); -+ uint32_t *lcs = zmalloc((size_t)(alen+1)*(blen+1)*sizeof(uint32_t)); - #define LCS(A,B) lcs[(B)+((A)*(blen+1))] - - /* Start building the LCS table. */ --- -2.32.0 -
meta-oe/recipes-extended/redis/redis/fix-CVE-2021-29478.patch deleted +0 -42
42 lines not on this page · raw message
meta-oe/recipes-extended/redis/redis/fix-CVE-2021-32625.patch deleted +0 -61
61 lines not on this page · raw message
meta-oe/recipes-extended/redis/redis_6.2.6.bb renamed from meta-oe/recipes-extended/redis/redis_6.2.2.bb +1 -14
@@ -13,21 +13,8 @@ SRC_URI = "http://download.redis.io/releases/${BP}.tar.gz \ file://hiredis-use-default-CC-if-it-is-set.patch \ file://lua-update-Makefile-to-use-environment-build-setting.patch \ file://oe-use-libc-malloc.patch \ - file://0001-src-Do-not-reset-FINAL_LIBS.patch \ - file://GNU_SOURCE.patch \ - file://0006-Define-correct-gregs-for-RISCV32.patch \ - file://fix-CVE-2021-29477.patch \ - file://fix-CVE-2021-29478.patch \ - file://fix-CVE-2021-32625.patch \ - file://CVE-2021-32761.patch \ - file://CVE-2021-41099.patch \ - file://CVE-2021-32762.patch \ - file://CVE-2021-32687.patch \ - file://CVE-2021-32675.patch \ - file://CVE-2021-32627-CVE-2021-32628.patch \ - file://CVE-2021-32626.patch \ " -SRC_URI[sha256sum] = "7a260bb74860f1b88c3d5942bf8ba60ca59f121c6dce42d3017bed6add0b9535" +SRC_URI[sha256sum] = "5b2b8b7a50111ef395bf1c1d5be11e6e167ac018125055daa8b5c2317ae131ab" inherit autotools-brokensep update-rc.d systemd useradd
Signature · 1 line
2.17.1