CVE-2018-7738

Published: 07 March 2018

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.

Priority

Negligible

CVSS 3 base score: 7.8

Status

Package Release Status
bash-completion
Launchpad, Ubuntu, Debian
Upstream Needs triage

Ubuntu 20.10 (Groovy Gorilla) Not vulnerable
(code not present)
Ubuntu 20.04 LTS (Focal Fossa) Not vulnerable
(code not present)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(code not present)
Ubuntu 16.04 LTS (Xenial Xerus) Not vulnerable

Ubuntu 14.04 ESM (Trusty Tahr) Not vulnerable

util-linux
Launchpad, Ubuntu, Debian
Upstream
Released (2.31.1-0.5)
Ubuntu 20.10 (Groovy Gorilla) Not vulnerable
(2.33.1-0.1ubuntu2)
Ubuntu 20.04 LTS (Focal Fossa) Not vulnerable
(2.33.1-0.1ubuntu2)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (2.31.1-0.4ubuntu3.7)
Ubuntu 16.04 LTS (Xenial Xerus) Not vulnerable
(code not present)
Ubuntu 14.04 ESM (Trusty Tahr) Not vulnerable
(code not present)
Patches:
Upstream: https://github.com/karelzak/util-linux/commit/75f03badd7ed9f1dd951863d75e756883d3acc55

Notes

AuthorNote
sbeattie
bash completion for umount moved from bash-completion to
util-linux in util-linux 2.28-1
mdeslaur
script in xenial bash-completion package isn't vulnerable
bash-completion package in bionic+ doesn't contain the umount
helper

References

Bugs