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

critical Nessus Plugin ID 168443

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-1878 advisory.

A command injection flaw was found in the way util-linux implements umount autocompletion in Bash. An attacker with the ability to mount a filesystem with custom mount points may execute arbitrary commands on behalf of the user who triggers the umount autocompletion. (CVE-2018-7738)

Tenable has extracted the preceding description block directly from the tested product security advisory.

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-1878.html

https://alas.aws.amazon.com/cve/html/CVE-2018-7738.html

Plugin Details

Severity: Critical

ID: 168443

File Name: al2_ALAS-2022-1878.nasl

Version: 1.3

Type: local

Agent: unix

Published: 12/7/2022

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

CVSS Score Source: CVE-2018-7738

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.8

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

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

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.1

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

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: 11/15/2022

Vulnerability Publication Date: 3/7/2018

Reference Information

CVE: CVE-2018-7738