CVE-2018-7738
Publication date 7 March 2018
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
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.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| bash-completion | 20.04 LTS focal | 
                                Not affected 
                                
                               | 
| 18.04 LTS bionic | 
                                Not affected 
                                
                               | |
| 16.04 LTS xenial | 
                                Not affected 
                                
                               | |
| 14.04 LTS trusty | 
                                Not affected 
                                
                               | |
| util-linux | 20.04 LTS focal | 
                                Not affected 
                                
                               | 
| 18.04 LTS bionic | 
                                Fixed 2.31.1-0.4ubuntu3.7 
                                
                               | |
| 16.04 LTS xenial | 
                                Not affected 
                                
                               | |
| 14.04 LTS trusty | 
                                Not affected 
                                
                               | 
Notes
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Local | 
| Attack complexity | Low | 
| Privileges required | Low | 
| User interaction | None | 
| Scope | Unchanged | 
| Confidentiality | High | 
| Integrity impact | High | 
| Availability impact | High | 
| Vector | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | 
References
Related Ubuntu Security Notices (USN)
- USN-4512-1
- util-linux vulnerability
- 17 September 2020