Skip to content

CVE-2021-4122 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 di...

MediumCVSS 4.3 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

Description

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.

Upgrade path

22 packages: 22 fixed.

PackageAffectedFixed inStatus
alpine/cryptsetup(Alpine v3.12) < 2.3.7-r0 2.3.7-r0 Fixed
alpine/cryptsetup(Alpine v3.13) < 2.3.7-r0 2.3.7-r0 Fixed
alpine/cryptsetup(Alpine v3.14) < 2.3.7-r0 2.3.7-r0 Fixed
alpine/cryptsetup(Alpine v3.15) >= 2.4.0, < 2.4.3-r0 2.4.3-r0 Fixed
alpine/cryptsetup(Alpine v3.16) >= 2.4.0, < 2.4.3-r0 2.4.3-r0 Fixed
alpine/cryptsetup(Alpine v3.17) >= 2.4.0, < 2.4.3-r0 2.4.3-r0 Fixed
alpine/cryptsetup(Alpine v3.18) >= 2.4.0, < 2.4.3-r0 2.4.3-r0 Fixed
alpine/cryptsetup(Alpine v3.19) >= 2.4.0, < 2.4.3-r0 2.4.3-r0 Fixed
alpine/cryptsetup(Alpine v3.20) >= 2.4.0, < 2.4.3-r0 2.4.3-r0 Fixed
alpine/cryptsetup(Alpine v3.21) >= 2.4.0, < 2.4.3-r0 2.4.3-r0 Fixed
alpine/cryptsetup(Alpine v3.22) >= 2.4.0, < 2.4.3-r0 2.4.3-r0 Fixed
alpine/cryptsetup(Alpine v3.23) >= 2.4.0, < 2.4.3-r0 2.4.3-r0 Fixed
alpine/cryptsetup(Alpine v3.24) >= 2.4.0, < 2.4.3-r0 2.4.3-r0 Fixed
cryptsetup project cryptsetup < 2.3.7; >= 2.4.0, < 2.4.3 2.3.7, 2.4.3 Fixed
debian/cryptsetup(Debian 12) < 2:2.4.3-1 2:2.4.3-1 Fixed
debian/cryptsetup(Debian 13) < 2:2.4.3-1 2:2.4.3-1 Fixed
debian/cryptsetup(Debian 14) < 2:2.4.3-1 2:2.4.3-1 Fixed
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5 Fixed
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5 Fixed
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5 Fixed
ubuntu/cryptsetup(Ubuntu 20.04) < 2:2.2.2-3ubuntu2.4; = 2:2.2.0-3ubuntu1; = 2:2.2.1-1ubuntu1; = 2:2.2.2-1ubuntu1 +5 more 2:2.2.2-3ubuntu2.4 Fixed
ubuntu/cryptsetup(Ubuntu 22.04) < 2:2.4.3-1ubuntu1; = 2:2.3.6-0ubuntu1; = 2:2.4.2-1ubuntu3; = 2:2.4.2-1ubuntu4 2:2.4.3-1ubuntu1 Fixed

Affected products

ProductAffected versionsFixed in
ubuntu/cryptsetup(Ubuntu:22.04) < 2:2.4.3-1ubuntu1 2:2.4.3-1ubuntu1
debian/cryptsetup(Debian:12) < 2:2.4.3-1 2:2.4.3-1
debian/cryptsetup(Debian:13) < 2:2.4.3-1 2:2.4.3-1
debian/cryptsetup(Debian:14) < 2:2.4.3-1 2:2.4.3-1
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
cryptsetup project cryptsetup < 2.3.7 2.3.7
cryptsetup project cryptsetup >= 2.4.0, < 2.4.3 2.4.3
alpine/cryptsetup(Alpine:v3.12) < 2.3.7-r0 2.3.7-r0
alpine/cryptsetup(Alpine:v3.13) < 2.3.7-r0 2.3.7-r0
alpine/cryptsetup(Alpine:v3.14) < 2.3.7-r0 2.3.7-r0
alpine/cryptsetup(Alpine:v3.15) >= 2.4.0, < 2.4.3-r0 2.4.3-r0
alpine/cryptsetup(Alpine:v3.16) >= 2.4.0, < 2.4.3-r0 2.4.3-r0
alpine/cryptsetup(Alpine:v3.17) >= 2.4.0, < 2.4.3-r0 2.4.3-r0
alpine/cryptsetup(Alpine:v3.18) >= 2.4.0, < 2.4.3-r0 2.4.3-r0
alpine/cryptsetup(Alpine:v3.19) >= 2.4.0, < 2.4.3-r0 2.4.3-r0
alpine/cryptsetup(Alpine:v3.20) >= 2.4.0, < 2.4.3-r0 2.4.3-r0
alpine/cryptsetup(Alpine:v3.21) >= 2.4.0, < 2.4.3-r0 2.4.3-r0
alpine/cryptsetup(Alpine:v3.22) >= 2.4.0, < 2.4.3-r0 2.4.3-r0
alpine/cryptsetup(Alpine:v3.23) >= 2.4.0, < 2.4.3-r0 2.4.3-r0
alpine/cryptsetup(Alpine:v3.24) >= 2.4.0, < 2.4.3-r0 2.4.3-r0
ubuntu/cryptsetup(Ubuntu:20.04) < 2:2.2.2-3ubuntu2.4 2:2.2.2-3ubuntu2.4
ubuntu/cryptsetup(Ubuntu:20.04) = 2:2.2.0-3ubuntu1 No fix listed
ubuntu/cryptsetup(Ubuntu:20.04) = 2:2.2.1-1ubuntu1 No fix listed
Show 9 more
ProductAffected versionsFixed in
ubuntu/cryptsetup(Ubuntu:20.04) = 2:2.2.2-1ubuntu1 No fix listed
ubuntu/cryptsetup(Ubuntu:20.04) = 2:2.2.2-2ubuntu1 No fix listed
ubuntu/cryptsetup(Ubuntu:20.04) = 2:2.2.2-3ubuntu1 No fix listed
ubuntu/cryptsetup(Ubuntu:20.04) = 2:2.2.2-3ubuntu2 No fix listed
ubuntu/cryptsetup(Ubuntu:20.04) = 2:2.2.2-3ubuntu2.2 No fix listed
ubuntu/cryptsetup(Ubuntu:20.04) = 2:2.2.2-3ubuntu2.3 No fix listed
ubuntu/cryptsetup(Ubuntu:22.04) = 2:2.3.6-0ubuntu1 No fix listed
ubuntu/cryptsetup(Ubuntu:22.04) = 2:2.4.2-1ubuntu3 No fix listed
ubuntu/cryptsetup(Ubuntu:22.04) = 2:2.4.2-1ubuntu4 No fix listed

References