7.8
Advisory Published
CVE Published
Updated

CVE-2018-7738

First published: Tue Mar 06 2018(Updated: )

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.

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Kernel Util-linux<=2.31
debian/bash-completion<=1:2.11-2<=1:2.11-6<=1:2.14.0-2
debian/util-linux
2.36.1-8+deb11u2
2.38.1-5+deb12u2
2.38.1-5+deb12u1
2.40.2-12

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2018-7738?

    CVE-2018-7738 is a vulnerability in util-linux before 2.32-rc1 that allows local users to gain privileges by embedding shell commands in a mountpoint name, which is mishandled during a umount command.

  • How can an attacker exploit CVE-2018-7738?

    An attacker can exploit CVE-2018-7738 by creating a malicious mountpoint name with embedded shell commands, and then triggering a umount command as a different user.

  • What is the severity of CVE-2018-7738?

    CVE-2018-7738 has a severity rating of 7.8 (high).

  • Which versions of util-linux are affected by CVE-2018-7738?

    Versions before 2.32-rc1 of util-linux are affected by CVE-2018-7738.

  • Is there a fix available for CVE-2018-7738?

    Yes, the fix for CVE-2018-7738 is included in version 2.32-rc1 of util-linux.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203