CVE-2018-7738

util-linux: Shell command injection in unescaped bash-completed mount point names

Published Mar 6, 2018 CVSS 3.0 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-4134-1 util-linux security update
EUVD EUVD EUVD-2018-19453 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.
Ubuntu USN Ubuntu USN USN-4512-1 util-linux vulnerability
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Dec 13, 2024, 1:09 PM
Reserved
Mar 6, 2018, 12:00 AM
Status
Modified
Published
Mar 7, 2018, 2:29 AM
Modified
Jun 17, 2026, 2:03 AM
Severity
Moderate
Public date
Mar 7, 2018, 12:00 AM