Debian DSA-5055-1 : util-linux - security update

medium Nessus Plugin ID 157263

Synopsis

The remote Debian host is missing one or more security-related updates.

Description

The remote Debian 11 host has packages installed that are affected by multiple vulnerabilities as referenced in the dsa-5055 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

Upgrade the util-linux packages.

For the stable distribution (bullseye), these problems have been fixed in version 2.36.1-8+deb11u1.

See Also

https://security-tracker.debian.org/tracker/source-package/util-linux

https://www.debian.org/security/2022/dsa-5055

https://security-tracker.debian.org/tracker/CVE-2021-3995

https://security-tracker.debian.org/tracker/CVE-2021-3996

https://packages.debian.org/source/bullseye/util-linux

Plugin Details

Severity: Medium

ID: 157263

File Name: debian_DSA-5055.nasl

Version: 1.6

Type: local

Agent: unix

Published: 1/31/2022

Updated: 11/17/2023

Supported Sensors: 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: p-cpe:/a:debian:debian_linux:bsdextrautils, p-cpe:/a:debian:debian_linux:bsdutils, p-cpe:/a:debian:debian_linux:eject, p-cpe:/a:debian:debian_linux:eject-udeb, p-cpe:/a:debian:debian_linux:fdisk, p-cpe:/a:debian:debian_linux:fdisk-udeb, p-cpe:/a:debian:debian_linux:libblkid-dev, p-cpe:/a:debian:debian_linux:libblkid1, p-cpe:/a:debian:debian_linux:libblkid1-udeb, p-cpe:/a:debian:debian_linux:libfdisk-dev, p-cpe:/a:debian:debian_linux:libfdisk1, p-cpe:/a:debian:debian_linux:libfdisk1-udeb, p-cpe:/a:debian:debian_linux:libmount-dev, p-cpe:/a:debian:debian_linux:libmount1, p-cpe:/a:debian:debian_linux:libmount1-udeb, p-cpe:/a:debian:debian_linux:libsmartcols-dev, p-cpe:/a:debian:debian_linux:libsmartcols1, p-cpe:/a:debian:debian_linux:libsmartcols1-udeb, p-cpe:/a:debian:debian_linux:libuuid1, p-cpe:/a:debian:debian_linux:libuuid1-udeb, p-cpe:/a:debian:debian_linux:mount, p-cpe:/a:debian:debian_linux:rfkill, p-cpe:/a:debian:debian_linux:util-linux, p-cpe:/a:debian:debian_linux:util-linux-locales, p-cpe:/a:debian:debian_linux:util-linux-udeb, p-cpe:/a:debian:debian_linux:uuid-dev, p-cpe:/a:debian:debian_linux:uuid-runtime, cpe:/o:debian:debian_linux:11.0

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/24/2022

Vulnerability Publication Date: 1/24/2022

Reference Information

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