mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 15:57:04 +00:00
util-linux: fix CVE-2022-0563
A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. The Readline library uses an "INPUTRC" environment variable to get a path to the library config file. When the library cannot parse the specified file, it prints an error message containing data from the file. This flaw allows an unprivileged user to read root-owned files, potentially leading to privilege escalation. This flaw affects util-linux versions prior to 2.37.4. Backport patch from upstream: https://github.com/util-linux/util-linux/commit/faa5a3a83ad0cb5e2c303edbfd8cd823c9d94c17 Patch required slight modifications to apply cleanly to util-linux 2.35.1 (From OE-Core rev: dffbf6301612ca91f6a1c306b9dde754b44912bb) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
631df12969
commit
67f1490197
@@ -15,6 +15,7 @@ SRC_URI += "file://configure-sbindir.patch \
|
||||
file://include-strutils-cleanup-strto-functions.patch \
|
||||
file://CVE-2021-3995.patch \
|
||||
file://CVE-2021-3996.patch \
|
||||
file://CVE-2022-0563.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "7f64882f631225f0295ca05080cee1bf"
|
||||
SRC_URI[sha256sum] = "d9de3edd287366cd908e77677514b9387b22bc7b88f45b83e1922c3597f1d7f9"
|
||||
|
||||
Reference in New Issue
Block a user