Remote Code Execution (RCE) Affecting util-linux package, versions [,2.31.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Remote Code Execution (RCE) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-UTILLINUX-2334955
  • published12 Jan 2022
  • disclosed7 Mar 2018
  • creditUnknown

Introduced: 7 Mar 2018

CVE-2018-7738  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade util-linux to version 2.31.1 or higher.

Overview

Affected versions of this package are vulnerable to Remote Code Execution (RCE). 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.

CVSS Base Scores

version 3.1