CVEfocus › CVE database › CVE-2018-7738

CVE-2018-7738

CVSS 7.8 HighEPSS 0.4% (higher than 38% of CVEs)Published 2018-03-06Updated 2024-12-13Assigner: mitre

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.

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
2Fix pending
3Will not fix
33Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 20.04bash-completionNot affected
vulnerable_code_not_present
Ubuntu 18.04bash-completionNot affected
vulnerable_code_not_present
Ubuntu 18.04util-linuxFixed2.31.1-0.4ubuntu3.7UBUNTU-CVE-2018-7738
Ubuntu 16.04bash-completionNot affected
vulnerable_code_not_present
Ubuntu 16.04util-linuxNot affected
vulnerable_code_not_present
Ubuntu 14.04bash-completionFix pending
Ubuntu 14.04util-linuxFix pending
Debian 14bash-completionWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-7738
Debian 14util-linuxFixed2.31.1-0.5DEBIAN-CVE-2018-7738
Debian 13bash-completionWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-7738
Debian 13util-linuxFixed2.31.1-0.5DEBIAN-CVE-2018-7738
Debian 12bash-completionWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2018-7738
Debian 12util-linuxFixed2.31.1-0.5DEBIAN-CVE-2018-7738
Red Hat Enterprise Linux 8libblkidNot affected
Red Hat Enterprise Linux 8libblkid-develNot affected
Red Hat Enterprise Linux 8libfdiskNot affected
Red Hat Enterprise Linux 8libfdisk-develNot affected
Red Hat Enterprise Linux 8libmountNot affected
Red Hat Enterprise Linux 8libmount-develNot affected
Red Hat Enterprise Linux 8libsmartcolsNot affected
Red Hat Enterprise Linux 8libsmartcols-develNot affected
Red Hat Enterprise Linux 8libuuidNot affected
Red Hat Enterprise Linux 8libuuid-develNot affected
Red Hat Enterprise Linux 8python3-libmountNot affected
Red Hat Enterprise Linux 8util-linuxNot affected
Red Hat Enterprise Linux 8util-linux-userNot affected
Red Hat Enterprise Linux 8uuiddNot affected
Red Hat Enterprise Linux 7libblkidNot affected
Red Hat Enterprise Linux 7libblkid-develNot affected
Red Hat Enterprise Linux 7libmountNot affected
Red Hat Enterprise Linux 7libmount-develNot affected
Red Hat Enterprise Linux 7libuuidNot affected
Red Hat Enterprise Linux 7libuuid-develNot affected
Red Hat Enterprise Linux 7util-linuxNot affected
Red Hat Enterprise Linux 7uuiddNot affected
Red Hat Enterprise Linux 6libblkidNot affected
Red Hat Enterprise Linux 6libblkid-develNot affected
Red Hat Enterprise Linux 6libuuidNot affected
Red Hat Enterprise Linux 6libuuid-develNot affected
Red Hat Enterprise Linux 6util-linux-ngNot affected
Red Hat Enterprise Linux 6uuiddNot affected
Red Hat Enterprise Linux 5util-linuxNot affected

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.