CentOS 9 : util-linux-2.37.4-3.el9

medium Nessus Plugin ID 191356

Synopsis

The remote CentOS host is missing one or more security updates for libblkid.

Description

The remote CentOS Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the util-linux-2.37.4-3.el9 build changelog.

- A logic error was found in the libmount library of util-linux in the function that allows an unprivileged user to unmount a FUSE filesystem. This flaw allows an unprivileged local attacker to unmount FUSE filesystems that belong to certain other users who have a UID that is a prefix of the UID of the attacker in its string form. An attacker may use this flaw to cause a denial of service to applications that use the affected filesystems. (CVE-2021-3995)

- A logic error was found in the libmount library of util-linux in the function that allows an unprivileged user to unmount a FUSE filesystem. This flaw allows a local user on a vulnerable system to unmount other users' filesystems that are either world-writable themselves (like /tmp) or mounted in a world-writable directory. An attacker may use this flaw to cause a denial of service to applications that use the affected filesystems. (CVE-2021-3996)

- A flaw was found in the util-linux chfn and chsh utilities when compiled with Readline support. The Readline library uses an INPUTRC environment variable to get a path to the library config file. When the library cannot parse the specified file, it prints an error message containing data from the file. This flaw allows an unprivileged user to read root-owned files, potentially leading to privilege escalation.
This flaw affects util-linux versions prior to 2.37.4. (CVE-2022-0563)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the CentOS 9 Stream libblkid package.

See Also

https://kojihub.stream.centos.org/koji/buildinfo?buildID=21474

Plugin Details

Severity: Medium

ID: 191356

File Name: centos9_util-linux-2_37_4-3.nasl

Version: 1.1

Type: local

Agent: unix

Published: 2/29/2024

Updated: 4/26/2024

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Low

Base Score: 1.9

Temporal Score: 1.5

Vector: CVSS2#AV:L/AC:M/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2022-0563

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:centos:centos:9, p-cpe:/a:centos:centos:libblkid, p-cpe:/a:centos:centos:libblkid-devel, p-cpe:/a:centos:centos:libfdisk, p-cpe:/a:centos:centos:libfdisk-devel, p-cpe:/a:centos:centos:libmount, p-cpe:/a:centos:centos:libmount-devel, p-cpe:/a:centos:centos:libsmartcols, p-cpe:/a:centos:centos:libsmartcols-devel, p-cpe:/a:centos:centos:libuuid, p-cpe:/a:centos:centos:libuuid-devel, p-cpe:/a:centos:centos:python3-libmount, p-cpe:/a:centos:centos:util-linux, p-cpe:/a:centos:centos:util-linux-core, p-cpe:/a:centos:centos:util-linux-user, p-cpe:/a:centos:centos:uuidd

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/CentOS/release, Host/CentOS/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/26/2022

Vulnerability Publication Date: 2/21/2022

Reference Information

CVE: CVE-2021-3995, CVE-2021-3996, CVE-2022-0563