Amazon Linux 2022 : (ALAS2022-2022-086)

medium Nessus Plugin ID 164755

Synopsis

The remote Amazon Linux 2022 host is missing a security update.

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2022-2022-086 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 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)

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

Solution

Run 'dnf update --releasever=2022.0.20220518 util-linux' to update your system.

See Also

https://alas.aws.amazon.com/AL2022/ALAS-2022-086.html

https://alas.aws.amazon.com/cve/html/CVE-2021-3995.html

https://alas.aws.amazon.com/cve/html/CVE-2021-3996.html

Plugin Details

Severity: Medium

ID: 164755

File Name: al2022_ALAS2022-2022-086.nasl

Version: 1.4

Type: local

Agent: unix

Published: 9/6/2022

Updated: 10/12/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous 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:amazon:linux:util-linux-core-debuginfo, p-cpe:/a:amazon:linux:libmount-debuginfo, p-cpe:/a:amazon:linux:libfdisk-debuginfo, p-cpe:/a:amazon:linux:util-linux-debuginfo, p-cpe:/a:amazon:linux:libblkid-debuginfo, p-cpe:/a:amazon:linux:util-linux-user, p-cpe:/a:amazon:linux:util-linux-core, p-cpe:/a:amazon:linux:libsmartcols-devel, p-cpe:/a:amazon:linux:util-linux, p-cpe:/a:amazon:linux:libuuid-devel, p-cpe:/a:amazon:linux:libuuid, p-cpe:/a:amazon:linux:uuidd, p-cpe:/a:amazon:linux:libblkid-devel, p-cpe:/a:amazon:linux:python3-libmount-debuginfo, p-cpe:/a:amazon:linux:libmount-devel, p-cpe:/a:amazon:linux:util-linux-user-debuginfo, p-cpe:/a:amazon:linux:libfdisk, cpe:/o:amazon:linux:2022, p-cpe:/a:amazon:linux:util-linux-debugsource, p-cpe:/a:amazon:linux:python3-libmount, p-cpe:/a:amazon:linux:uuidd-debuginfo, p-cpe:/a:amazon:linux:libsmartcols-debuginfo, p-cpe:/a:amazon:linux:libsmartcols, p-cpe:/a:amazon:linux:libmount, p-cpe:/a:amazon:linux:libuuid-debuginfo, p-cpe:/a:amazon:linux:libblkid, p-cpe:/a:amazon:linux:libfdisk-devel

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/1/2022

Vulnerability Publication Date: 5/6/2022

Reference Information

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