Amazon Linux 2023 : cryptsetup, cryptsetup-devel, cryptsetup-libs (ALAS2023-2023-027)

medium Nessus Plugin ID 173121


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


It is, therefore, affected by a vulnerability as referenced in the ALAS2023-2023-027 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.

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


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

See Also

Plugin Details

Severity: Medium

ID: 173121

File Name: al2023_ALAS2023-2023-027.nasl

Version: 1.0

Type: local

Agent: unix

Published: 3/21/2023

Updated: 3/21/2023

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

Risk Information


Risk Factor: Low

Score: 3.6


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


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, p-cpe:/a:amazon:linux:cryptsetup-debuginfo, p-cpe:/a:amazon:linux:cryptsetup-debugsource, p-cpe:/a:amazon:linux:cryptsetup-devel, p-cpe:/a:amazon:linux:cryptsetup-libs, p-cpe:/a:amazon:linux:cryptsetup-libs-debuginfo, p-cpe:/a:amazon:linux:cryptsetup-reencrypt, p-cpe:/a:amazon:linux:cryptsetup-reencrypt-debuginfo, p-cpe:/a:amazon:linux:cryptsetup-ssh-token, p-cpe:/a:amazon:linux:cryptsetup-ssh-token-debuginfo, p-cpe:/a:amazon:linux:integritysetup, p-cpe:/a:amazon:linux:integritysetup-debuginfo, p-cpe:/a:amazon:linux:veritysetup, p-cpe:/a:amazon:linux:veritysetup-debuginfo, cpe:/o:amazon:linux:2023

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/17/2023

Vulnerability Publication Date: 2/1/2022

Reference Information

CVE: CVE-2021-4122