portage-ng / portage / sys-apps / util-linux / 2.42.2
portage-ng glsa
7 advisories reference sys-apps/util-linux · none place version 2.42.2 in a vulnerable range
▸ GLSA 202401-08 util-linux: Multiple Vulnerabilities this version unaffected normal remote 2024-01-07

Multiple vulnerabilities have been discovered in util-linux which can lead to denial of service or information disclosure.

Announced
2024-01-07
Revised
2024-01-07
Access
remote
Bugs
#806070 #831978 #833365
Advisory
https://security.gentoo.org/glsa/202401-08

Affected packages

PackageArchVulnerableUnaffected
sys-apps/util-linux*< 2.37.4>= 2.37.4

Background

util-linux is a suite of Linux programs including mount and umount, programs used to mount and unmount filesystems.

Description

Multiple vulnerabilities have been discovered in util-linux. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All util-linux users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/util-linux-2.37.4"

References

▸ GLSA 201803-02 util-linux: User-assisted execution of arbitrary code this version unaffected high local, remote 2018-03-07

A vulnerability was discovered in util-linux, which could potentially lead to the execution of arbitrary code.

Announced
2018-03-07
Revised
2018-03-07
Access
local, remote
Bugs
#649812
Advisory
https://security.gentoo.org/glsa/201803-02

Affected packages

PackageArchVulnerableUnaffected
sys-apps/util-linux*< 2.30.2-r1>= 2.30.2-r1

Background

util-linux is a suite of Linux programs including mount and umount, programs used to mount and unmount filesystems.

Description

It was discovered that the umount bash-completion as provided by util-linux does not escap mount point paths.

Impact

An attacker controlling a volume label could entice a user with privileges to mount/umount filesystems to use umount command with auto completion, possibly resulting in execution of arbitrary code with root privileges.

Workaround

Disable Bash-completion or remove “/usr/share/bash-completion/completions/umount”.

Resolution

All util-linux users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/util-linux-2.30.2-r1"

References

▸ GLSA 201612-14 util-linux: Arbitrary code execution this version unaffected normal local 2016-12-06

A vulnerability was discovered in util-linux, which could potentially lead to the execution of arbitrary code.

Announced
2016-12-06
Revised
2016-12-06
Access
local
Bugs
#530844
Advisory
https://security.gentoo.org/glsa/201612-14

Affected packages

PackageArchVulnerableUnaffected
sys-apps/util-linux*< 2.26>= 2.26

Background

util-linux is a suite of Linux programs including mount and umount, programs used to mount and unmount filesystems.

Description

A command injection flaw was discovered in util-linux’s “blkid” utility. It uses caching files (/dev/.blkid.tab or /run/blkid/blkid.tab) to store info about the UUID, LABEL etc. it finds on certain devices. However, it does not strip ‘”’ character, so it can be confused to build variable names containing shell metacharacters, which it would usually encode inside the value.

Impact

A local attacker could create a specially crafted partition label containing arbitrary code which would get executed when the “blkid” utility processes that value.

Workaround

There is no known workaround at this time.

Resolution

All util-linux users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/util-linux-2.26"

References

▸ GLSA 201405-15 util-linux: Multiple vulnerabilities this version unaffected normal local 2014-05-18

Multiple vulnerabilities have been found in util-linux, the worst of which may lead to Denial of Service.

Announced
2014-05-18
Revised
2014-05-18
Access
local
Bugs
#359759 #450740
Advisory
https://security.gentoo.org/glsa/201405-15

Affected packages

PackageArchVulnerableUnaffected
sys-apps/util-linux*< 2.22.2>= 2.22.2

Background

util-linux is a suite of Linux programs including mount and umount, programs used to mount and unmount filesystems.

Description

Multiple vulnerabilities have been discovered in util-linux. Please review the CVE identifiers referenced below for details.

Impact

A local attacker may be able to cause a Denial of Service condition, trigger corruption of /etc/mtab, obtain sensitive information, or have other unspecified impact.

Workaround

There is no known workaround at this time.

Resolution

All util-linux users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/util-linux-2.22.2"

References

▸ GLSA 200710-18 util-linux: Local privilege escalation this version unaffected high local 2007-10-18

The mount and umount programs might allow local attackers to gain root privileges.

Announced
2007-10-18
Revised
2007-10-18
Access
local
Bugs
#195390
Advisory
https://security.gentoo.org/glsa/200710-18

Affected packages

PackageArchVulnerableUnaffected
sys-apps/util-linux*< 2.12r-r8>= 2.12r-r8

Background

util-linux is a suite of Linux programs including mount and umount, programs used to mount and unmount filesystems.

Description

Ludwig Nussel discovered that the check_special_mountprog() and check_special_umountprog() functions call setuid() and setgid() in the wrong order and do not check the return values, which can lead to privileges being dropped improperly.

Impact

A local attacker may be able to exploit this vulnerability by using mount helpers such as the mount.nfs program to gain root privileges and run arbitrary commands.

Workaround

There is no known workaround at this time.

Resolution

All util-linux users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/util-linux-2.12r-r8"

References

▸ GLSA 200509-15 util-linux: umount command validation error this version unaffected high local 2005-09-20

A command validation error in umount can lead to an escalation of privileges.

Announced
2005-09-20
Revised
2005-09-20
Access
local
Bugs
#105805
Advisory
https://security.gentoo.org/glsa/200509-15

Affected packages

PackageArchVulnerableUnaffected
sys-apps/util-linux*< 2.12q-r3>= 2.12q-r3

Background

util-linux is a suite of useful Linux programs including umount, a program used to unmount filesystems.

Description

When a regular user mounts a filesystem, they are subject to restrictions in the /etc/fstab configuration file. David Watson discovered that when unmounting a filesystem with the '-r' option, the read-only bit is set, while other bits, such as nosuid or nodev, are not set, even if they were previously.

Impact

An unprivileged user facing nosuid or nodev restrictions can umount -r a filesystem clearing those bits, allowing applications to be executed suid, or have device nodes interpreted. In the case where the user can freely modify the contents of the filesystem, privilege escalation may occur as a custom program may execute with suid permissions.

Workaround

Two workarounds exist, first, the suid bit can be removed from the umount utility, or users can be restricted from mounting and unmounting filesystems in /etc/fstab.

Resolution

All util-linux users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/util-linux-2.12q-r3"

References

▸ GLSA 200404-06 Util-linux login may leak sensitive data this version unaffected low remote 2004-04-07

The login program included in util-linux could leak sensitive information under certain conditions.

Announced
2004-04-07
Revised
2004-04-07
Access
remote
Bugs
#46422
Advisory
https://security.gentoo.org/glsa/200404-06

Affected packages

PackageArchVulnerableUnaffected
sys-apps/util-linux*<= 2.11>= 2.12

Background

Util-linux is a suite of essential system utilites, including login, agetty, fdisk.

Description

In some situations the login program could leak sensitive data due to an incorrect usage of a reallocated pointer.

NOTE: Only users who have PAM support disabled on their systems (i.e. -PAM in their USE variable) will be affected by this vulnerability. By default, this USE flag is enabled on all architectures. Users with PAM support on their system receive login binaries as part of the pam-login package, which remains unaffected.

Impact

A remote attacker may obtain sensitive data.

Workaround

A workaround is not currently known for this issue. All users are advised to upgrade to the latest version of the affected package.

Resolution

All util-linux users should upgrade to version 2.12 or later:

   # emerge sync
   
# emerge -pv ">=sys-apps/util-linux-2.12"
   # emerge ">=sys-apps/util-linux-2.12"

References