From e76bf51a92b41d4cb185fc164ae43a863910ccd1 Mon Sep 17 00:00:00 2001 From: Deepak Rathore Date: Thu, 18 Dec 2025 16:56:19 +0530 Subject: [PATCH] redis: Refine CVE-2022-0543 status description Refine the CVE_STATUS description for CVE-2022-0543 to provide a more precise explanation of this Debian-specific vulnerability. The vulnerability originates from Debian's packaging methodology, which loads system-wide Lua libraries (lua-cjson, lua-cmsgpack), enabling Lua sandbox escape. Upstream Redis builds, including those built by Yocto/OpenEmbedded, utilize embedded Lua from the deps/ directory and are therefore not affected by this issue. It is also fixed in Debian with this commit: https://salsa.debian.org/lamby/pkg-redis/-/commit/c7fd665150dc4769402cae97d1152b3c6e4366f0 References: - https://www.ubercomp.com/posts/2022-01-20_redis_on_debian_rce - https://nvd.nist.gov/vuln/detail/CVE-2022-0543 Signed-off-by: Deepak Rathore Signed-off-by: Khem Raj (cherry picked from commit 7675392aa7c1bf27b8993d08936bc4bc84d1508d) Signed-off-by: Deepak Rathore Signed-off-by: Anuj Mittal --- meta-oe/recipes-extended/redis/redis_6.2.21.bb | 7 ++++++- meta-oe/recipes-extended/redis/redis_7.2.12.bb | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-extended/redis/redis_6.2.21.bb b/meta-oe/recipes-extended/redis/redis_6.2.21.bb index d23d3c07c6..82e029fd82 100644 --- a/meta-oe/recipes-extended/redis/redis_6.2.21.bb +++ b/meta-oe/recipes-extended/redis/redis_6.2.21.bb @@ -67,4 +67,9 @@ INITSCRIPT_PARAMS = "defaults 87" SYSTEMD_SERVICE:${PN} = "redis.service" -CVE_STATUS[CVE-2022-0543] = "not-applicable-config: the vulnerability is not present in upstream, only in Debian-packaged versions" +# The vulnerability originates from Debian's packaging methodology, +# which loads system-wide Lua libraries (lua-cjson, lua-cmsgpack), +# enabling Lua sandbox escape. Upstream Redis builds, including +# those built by Yocto/OpenEmbedded, utilize embedded Lua from the +# deps/ directory and are therefore not affected by this issue. +CVE_STATUS[CVE-2022-0543] = "not-applicable-config: Debian-specific packaging issue caused by loading system-wide Lua libraries; upstream builds use embedded Lua and are not affected" diff --git a/meta-oe/recipes-extended/redis/redis_7.2.12.bb b/meta-oe/recipes-extended/redis/redis_7.2.12.bb index efbe86b358..98af45cb88 100644 --- a/meta-oe/recipes-extended/redis/redis_7.2.12.bb +++ b/meta-oe/recipes-extended/redis/redis_7.2.12.bb @@ -70,5 +70,10 @@ INITSCRIPT_PARAMS = "defaults 87" SYSTEMD_SERVICE:${PN} = "redis.service" CVE_STATUS[CVE-2022-3734] = "not-applicable-platform: CVE only applies for Windows." -CVE_STATUS[CVE-2022-0543] = "not-applicable-config: the vulnerability is not present in upstream, only in Debian-packaged versions" +# The vulnerability originates from Debian's packaging methodology, +# which loads system-wide Lua libraries (lua-cjson, lua-cmsgpack), +# enabling Lua sandbox escape. Upstream Redis builds, including +# those built by Yocto/OpenEmbedded, utilize embedded Lua from the +# deps/ directory and are therefore not affected by this issue. +CVE_STATUS[CVE-2022-0543] = "not-applicable-config: Debian-specific packaging issue caused by loading system-wide Lua libraries; upstream builds use embedded Lua and are not affected" CVE_STATUS[CVE-2025-27151] = "fixed-version: the used version(7.2.12) contains the fix"