summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/shadow/shadow.inc
diff options
context:
space:
mode:
authorXiangyu Chen <xiangyu.chen@windriver.com>2023-04-19 13:43:35 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-04-20 11:56:06 +0100
commitef16919e98108724ede5ad5d79e3cbab1918d6d5 (patch)
treed75b32e4d7e044d7c0c0aba916b14ea64be54e2b /meta/recipes-extended/shadow/shadow.inc
parent22fc34613bb5d2a5b1713de6ff0fe1fafb4949a7 (diff)
downloadpoky-ef16919e98108724ede5ad5d79e3cbab1918d6d5.tar.gz
shadow: backport patch to fix CVE-2023-29383
The fix of CVE-2023-29383.patch contains a bug that it rejects all characters that are not control ones, so backup another patch named "0001-Overhaul-valid_field.patch" from upstream to fix it. (From OE-Core rev: c5da9027cc73484936f4f82a37c32348cee1e229) Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/shadow/shadow.inc')
-rw-r--r--meta/recipes-extended/shadow/shadow.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index 52b10000ee..cf05a3af93 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -15,6 +15,8 @@ SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.gz \
15 ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ 15 ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \
16 file://useradd \ 16 file://useradd \
17 file://0001-Fix-can-not-print-full-login.patch \ 17 file://0001-Fix-can-not-print-full-login.patch \
18 file://CVE-2023-29383.patch \
19 file://0001-Overhaul-valid_field.patch \
18 " 20 "
19 21
20SRC_URI:append:class-target = " \ 22SRC_URI:append:class-target = " \