summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build_sdk.py
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2022-03-28 08:33:20 -1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-01 23:22:43 +0100
commit67f1490197bf59b0efeea62ed823d03eee5968cb (patch)
treea28b4e91a6557cf0580e3a9eb8907462a1e5d2c2 /scripts/lib/devtool/build_sdk.py
parent631df1296924e86a5170bdd6fe001294fdff6ead (diff)
downloadpoky-67f1490197bf59b0efeea62ed823d03eee5968cb.tar.gz
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>
Diffstat (limited to 'scripts/lib/devtool/build_sdk.py')
0 files changed, 0 insertions, 0 deletions