In util-linux before 2.32-rc1, bash-completion/umount allows local users to gain privileges by embedding shell commands in a mountpoint name, which is mishandled during a umount command (within Bash) by a different user, as demonstrated by logging in as root and entering umount followed by a tab character for autocompletion.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Util-linux | Kernel | * | 2.31 (including) |
Bash-completion | Ubuntu | artful | * |
Bash-completion | Ubuntu | cosmic | * |
Bash-completion | Ubuntu | disco | * |
Bash-completion | Ubuntu | eoan | * |
Bash-completion | Ubuntu | trusty | * |
Util-linux | Ubuntu | artful | * |
Util-linux | Ubuntu | bionic | * |
Util-linux | Ubuntu | trusty | * |
Util-linux | Ubuntu | upstream | * |