Amazon Linux 2022 : cryptsetup, cryptsetup-devel, cryptsetup-libs (ALAS2022-2022-064)

medium Nessus Plugin ID 164725

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-064 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)

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 'dnf update --releasever=2022.0.20220518 cryptsetup' to update your system.

See Also

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

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

Plugin Details

Severity: Medium

ID: 164725

File Name: al2022_ALAS2022-2022-064.nasl

Version: 1.4

Type: local

Agent: unix

Published: 9/6/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: 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: 5/18/2022

Vulnerability Publication Date: 2/1/2022

Reference Information

CVE: CVE-2021-4122