util-linux: Shell command injection in unescaped bash-completed mount point names
Published Mar 6, 2018
7.8
HIGHCVSS 3.0
EPSS 0.43%
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.
Affected products
No data.
- ≤ 2.31
No data.
Red Hat Enterprise Linux 5
util-linux
Not affected
Red Hat Enterprise Linux 6
util-linux-ng
Not affected
Red Hat Enterprise Linux 7
util-linux
Not affected
Red Hat Enterprise Linux 8
util-linux
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | util-linux | Not affected | n/a |
| Red Hat Enterprise Linux 6 | util-linux-ng | Not affected | n/a |
| Red Hat Enterprise Linux 7 | util-linux | Not affected | n/a |
| Red Hat Enterprise Linux 8 | util-linux | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the versions of util-linux as shipped with Red Hat Enterprise Linux 5, 6 and 7 as they did not include support for umount autocompletion.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (8 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.43% (0.00432) | 35.23th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.43% (0.00432) | 37.04th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.04% (0.00042) | 5.06th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.03% (0.01034) | 41.69th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.03% (0.01034) | 20.32th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.78% (0.00777) | 21.08th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.78% (0.00777) | 0.00th | v1 |
References (11)
- http://www.securityfocus.com/bid/103367 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2018-7738 Vendor Advisory
- https://bugs.debian.org/892179 x_refsource_MISCPatchThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1552641 Issue Tracking
- https://github.com/karelzak/util-linux/commit/75f03badd7ed9f1dd951863d75e756883d3acc55 x_refsource_MISCPatchThird Party Advisory
- https://github.com/karelzak/util-linux/issues/539 x_refsource_MISCIssue TrackingThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-7738
- https://security.netapp.com/advisory/ntap-20241213-0002/
- https://usn.ubuntu.com/4512-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2018-7738
- https://www.debian.org/security/2018/dsa-4134 vendor-advisoryx_refsource_DEBIANThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| http://www.securityfocus.com/bid/103367 | vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry | |
| https://access.redhat.com/security/cve/CVE-2018-7738 | Vendor Advisory | |
| https://bugs.debian.org/892179 | x_refsource_MISCPatchThird Party Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1552641 | Issue Tracking | |
| https://github.com/karelzak/util-linux/commit/75f03badd7ed9f1dd951863d75e756883d3acc55 | x_refsource_MISCPatchThird Party Advisory | |
| https://github.com/karelzak/util-linux/issues/539 | x_refsource_MISCIssue TrackingThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-7738 | ||
| https://security.netapp.com/advisory/ntap-20241213-0002/ | ||
| https://usn.ubuntu.com/4512-1/ | vendor-advisoryx_refsource_UBUNTU | |
| https://www.cve.org/CVERecord?id=CVE-2018-7738 | ||
| https://www.debian.org/security/2018/dsa-4134 | vendor-advisoryx_refsource_DEBIANThird Party Advisory |
Change history (0)
No recorded changes yet.