{"id":"CVE-2018-7738","details":"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.","modified":"2026-04-16T01:38:16.801133265Z","published":"2018-03-07T02:29:03.533Z","related":["SUSE-SU-2018:2066-1","SUSE-SU-2018:2071-1","SUSE-SU-2018:3926-1","SUSE-SU-2019:0390-1","SUSE-SU-2023:3268-1","SUSE-SU-2023:4372-1","SUSE-SU-2023:4512-1"],"references":[{"type":"WEB","url":"https://usn.ubuntu.com/4512-1/"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/103367"},{"type":"ADVISORY","url":"https://www.debian.org/security/2018/dsa-4134"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20241213-0002/"},{"type":"REPORT","url":"https://github.com/karelzak/util-linux/issues/539"},{"type":"FIX","url":"https://bugs.debian.org/892179"},{"type":"FIX","url":"https://github.com/karelzak/util-linux/commit/75f03badd7ed9f1dd951863d75e756883d3acc55"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/karelzak/util-linux","events":[{"introduced":"0"},{"last_affected":"27e66e59a39f63cfbc120bf1d26bc6b63f1b4f6c"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"2.31"}]}},{"type":"GIT","repo":"https://github.com/util-linux/util-linux","events":[{"introduced":"0"},{"fixed":"75f03badd7ed9f1dd951863d75e756883d3acc55"}]}],"versions":["v2.10f","v2.10m","v2.10s","v2.11b","v2.11f","v2.11m","v2.11n","v2.11o","v2.11q","v2.11r","v2.11t","v2.11u","v2.11v","v2.11w","v2.11x","v2.11y","v2.12","v2.12a","v2.12b","v2.12d","v2.12h","v2.12i","v2.12j","v2.12k","v2.12l","v2.12m","v2.12o","v2.12p","v2.12pre","v2.12q","v2.12q-pre1","v2.12q-pre2","v2.12r","v2.12r-pre1","v2.13","v2.13-pre1","v2.13-pre2","v2.13-pre3","v2.13-pre4","v2.13-pre5","v2.13-pre6","v2.13-pre7","v2.13-rc1","v2.13-rc2","v2.13-rc3","v2.14","v2.14-rc1","v2.14-rc2","v2.14-rc3","v2.15","v2.15-rc1","v2.15-rc2","v2.16","v2.16-rc1","v2.16-rc2","v2.17","v2.17-rc1","v2.17-rc2","v2.17-rc3","v2.18","v2.18-rc1","v2.18-rc2","v2.19","v2.19-rc1","v2.19-rc2","v2.19-rc3","v2.2","v2.20","v2.20-rc1","v2.20-rc2","v2.21","v2.21-rc1","v2.21-rc2","v2.22","v2.22-rc1","v2.22-rc2","v2.23","v2.23-rc1","v2.23-rc2","v2.24","v2.24-rc1","v2.24-rc2","v2.25","v2.25-rc1","v2.25-rc2","v2.26","v2.26-rc1","v2.26-rc2","v2.27","v2.27-rc1","v2.27-rc2","v2.28","v2.28-rc1","v2.28-rc2","v2.29","v2.29-rc1","v2.29-rc2","v2.30","v2.30-rc1","v2.30-rc2","v2.31","v2.31-rc1","v2.31-rc2","v2.5","v2.7.1","v2.8","v2.9i","v2.9v"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-7738.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}