DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)
Debian Bugs892179

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
bash-completion (PTS)buster1:2.8-6vulnerable
bookworm, sid1:2.11-6vulnerable
util-linux (PTS)buster2.33.1-0.1fixed
bullseye (security), bullseye2.36.1-8+deb11u1fixed
bookworm, sid2.38.1-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
util-linuxsourcewheezy(not affected)
util-linuxsourcejessie(not affected)


[jessie] - util-linux <not-affected> (umount completion added later)
[wheezy] - util-linux <not-affected> (umount completion added later)
Fix in bash-completion's from util-linux:
src:util-linux/2.28-1 takes over the umount completion from
src:bash-completion (which in turn starting from 1:2.1-4.3
does not provide the umount completion in the binary packaage)

Search for package or bug name: Reporting problems