Amazon Linux 2 : util-linux (ALAS-2022-1901)

medium Nessus Plugin ID 168441

Synopsis

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

Description

The version of util-linux installed on the remote host is prior to 2.30.2-2. It is, therefore, affected by a vulnerability as referenced in the ALAS2-2022-1901 advisory.

- 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 this issue but has instead relied only on the application's self-reported version number.

Solution

Run 'yum update util-linux' to update your system.

See Also

https://alas.aws.amazon.com/AL2/ALAS-2022-1901.html

https://alas.aws.amazon.com/cve/html/CVE-2022-0563.html

Plugin Details

Severity: Medium

ID: 168441

File Name: al2_ALAS-2022-1901.nasl

Version: 1.2

Type: local

Agent: unix

Published: 12/7/2022

Updated: 12/7/2022

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 1.9

Temporal Score: 1.4

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: 4.8

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:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:libmount-devel, p-cpe:/a:amazon:linux:libsmartcols-devel, p-cpe:/a:amazon:linux:libfdisk, p-cpe:/a:amazon:linux:libsmartcols, p-cpe:/a:amazon:linux:python-libmount, p-cpe:/a:amazon:linux:util-linux, p-cpe:/a:amazon:linux:libmount, p-cpe:/a:amazon:linux:util-linux-debuginfo, p-cpe:/a:amazon:linux:libblkid, p-cpe:/a:amazon:linux:libuuid-devel, p-cpe:/a:amazon:linux:libfdisk-devel, p-cpe:/a:amazon:linux:libuuid, p-cpe:/a:amazon:linux:uuidd, cpe:/o:amazon:linux:2, p-cpe:/a:amazon:linux:util-linux-user, p-cpe:/a:amazon:linux:libblkid-devel

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/1/2022

Vulnerability Publication Date: 2/21/2022

Reference Information

CVE: CVE-2022-0563