Ubuntu 20.04 LTS : util-linux vulnerabilities (USN-5279-1)

medium Nessus Plugin ID 157843

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

The remote Ubuntu 20.04 LTS host has packages installed that are affected by multiple vulnerabilities as referenced in the USN-5279-1 advisory.

- 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 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)

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

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-5279-1

Plugin Details

Severity: Medium

ID: 157843

File Name: ubuntu_USN-5279-1.nasl

Version: 1.8

Type: local

Agent: unix

Published: 2/9/2022

Updated: 10/20/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.6

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

CVSS Score Source: CVE-2021-3996

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:N/I:N/A:H

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

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:20.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:bsdutils, p-cpe:/a:canonical:ubuntu_linux:fdisk, p-cpe:/a:canonical:ubuntu_linux:libblkid-dev, p-cpe:/a:canonical:ubuntu_linux:libblkid1, p-cpe:/a:canonical:ubuntu_linux:libfdisk-dev, p-cpe:/a:canonical:ubuntu_linux:libfdisk1, p-cpe:/a:canonical:ubuntu_linux:libmount-dev, p-cpe:/a:canonical:ubuntu_linux:libmount1, p-cpe:/a:canonical:ubuntu_linux:libsmartcols-dev, p-cpe:/a:canonical:ubuntu_linux:libsmartcols1, p-cpe:/a:canonical:ubuntu_linux:libuuid1, p-cpe:/a:canonical:ubuntu_linux:mount, p-cpe:/a:canonical:ubuntu_linux:rfkill, p-cpe:/a:canonical:ubuntu_linux:util-linux, p-cpe:/a:canonical:ubuntu_linux:util-linux-locales, p-cpe:/a:canonical:ubuntu_linux:uuid-dev, p-cpe:/a:canonical:ubuntu_linux:uuid-runtime

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/9/2022

Vulnerability Publication Date: 2/9/2022

Reference Information

CVE: CVE-2021-3995, CVE-2021-3996

USN: 5279-1