

See How to fix? for Debian:10 relevant fixed versions and status. Note: Versions mentioned in the description apply only to the upstream gnutls28 package and not the gnutls28 package as distributed by Debian:10. There is no fixed version for Debian:10 shadow. This issue became much more relevant in approximately December 2019 when an unrelated bug was fixed (i.e., the chmod calls to suidusbins were fixed in the upstream Makefile which is now included in the release version 4.8). This combination leads to account management tools (groupadd, groupdel, groupmod, useradd, userdel, usermod) that can easily be used by unprivileged local users to escalate privileges to root in multiple ways.

Specifically, this affects shadow 4.8 when compiled using -with-libpam but without explicitly passing -disable-account-tools-setuid, and without a PAM configuration suitable for use with setuid account management tools. Shadow 4.8, in certain circumstances affecting at least Gentoo, Arch Linux, and Void Linux, allows local users to obtain root access because setuid programs are misconfigured.


Note: Versions mentioned in the description apply only to the upstream shadow package and not the shadow package as distributed by Debian:10. There is no fixed version for Debian:10 bash. However, binaries running with an effective UID of 0 are unaffected. An attacker with command execution in the shell can use "enable -f" for runtime loading of a new builtin, which can be a shared object that calls setuid() and therefore regains privileges. On Linux and other systems that support "saved UID" functionality, the saved UID is not dropped. By default, if Bash is run with its effective UID not equal to its real UID, it will drop privileges by setting its effective UID to its real UID. See How to fix? for Debian:10 relevant fixed versions and status.Īn issue was discovered in disable_priv_mode in shell.c in GNU Bash through 5.0 patch 11. Note: Versions mentioned in the description apply only to the upstream bash package and not the bash package as distributed by Debian:10.
