Amazon Linux 2022 : (ALAS2022-2022-174)

medium Nessus Plugin ID 166993

Synopsis

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

Description

It is, therefore, affected by a vulnerability as referenced in the ALAS2022-2022-174 advisory.

- It was found that a specially crafted LUKS header could trick cryptsetup into disabling encryption during the recovery of the device. An attacker with physical access to the medium, such as a flash disk, could use this flaw to force a user into permanently disabling the encryption layer of that medium.
(CVE-2021-4122)

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

Solution

Run 'dnf update cryptsetup --releasever=2022.0.20221102' to update your system.

See Also

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

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

Plugin Details

Severity: Medium

ID: 166993

File Name: al2022_ALAS2022-2022-174.nasl

Version: 1.3

Type: local

Agent: unix

Published: 11/4/2022

Updated: 11/28/2022

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

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

CVSS Score Source: CVE-2021-4122

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:cryptsetup-reencrypt, p-cpe:/a:amazon:linux:veritysetup-debuginfo, p-cpe:/a:amazon:linux:cryptsetup, p-cpe:/a:amazon:linux:cryptsetup-ssh-token, p-cpe:/a:amazon:linux:cryptsetup-devel, p-cpe:/a:amazon:linux:cryptsetup-libs, p-cpe:/a:amazon:linux:cryptsetup-reencrypt-debuginfo, p-cpe:/a:amazon:linux:veritysetup, p-cpe:/a:amazon:linux:cryptsetup-debugsource, cpe:/o:amazon:linux:2022, p-cpe:/a:amazon:linux:cryptsetup-debuginfo, p-cpe:/a:amazon:linux:integritysetup, p-cpe:/a:amazon:linux:integritysetup-debuginfo, p-cpe:/a:amazon:linux:cryptsetup-ssh-token-debuginfo, p-cpe:/a:amazon:linux:cryptsetup-libs-debuginfo

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/1/2022

Vulnerability Publication Date: 2/1/2022

Reference Information

CVE: CVE-2021-4122