]> code.ossystems Code Review - openembedded-core.git/commit
sudo: fix CVE-2019-14287
authorChangqing Li <changqing.li@windriver.com>
Tue, 29 Oct 2019 09:47:30 +0000 (10:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Oct 2019 13:47:05 +0000 (13:47 +0000)
commit650dd9486d6e5410665d5376be30732c7625396d
tree7e96c48cb537daf191570c0803bfd98713576f90
parenta981d9b753a13e100af1f654fb3384f0bcda0b65
sudo: fix CVE-2019-14287

In Sudo before 1.8.28, an attacker with access to a Runas ALL sudoer
account can bypass certain policy blacklists and session PAM modules,
and can cause incorrect logging, by invoking sudo with a crafted user
ID. For example, this allows bypass of !root configuration, and USER=
logging, for a "sudo -u \#$((0xffffffff))" command.

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4e11cd561f2bdaa6807cf02ee7c9870881826308)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
(cherry picked from commit b1e0149c41e3c344a0496e64ab3b0c9dd4685ea4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/sudo/sudo/CVE-2019-14287-1.patch [new file with mode: 0644]
meta/recipes-extended/sudo/sudo/CVE-2019-14287-2.patch [new file with mode: 0644]
meta/recipes-extended/sudo/sudo_1.8.27.bb