Unchecked Return Value Affecting util-linux package, versions [,2.14)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.1% (29th 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 IDSNYK-UNMANAGED-UTILLINUX-2334956
  • published12 Jan 2022
  • disclosed4 Oct 2007
  • creditUnknown

Introduced: 4 Oct 2007

CVE-2007-5191  (opens in a new tab)
CWE-252  (opens in a new tab)

How to fix?

Upgrade util-linux to version 2.14 or higher.

Overview

Affected versions of this package are vulnerable to Unchecked Return Value mount and umount in util-linux and loop-aes-utils call the setuid and setgid functions in the wrong order and do not check the return values, which might allow attackers to gain privileges via helpers such as mount.nfs.

CVSS Base Scores

version 3.1