Skip to content
OpenAdvisories
Unscored CVE-2021-4122 EUVD-2021-33997GHSA-8fgw-wvm8-3x84

It was found that a specially crafted LUKS header could trick cryptsetup into disabling encryption during the recovery of the device. An at…

Published Aug 24, 2022 · Updated Oct 14, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
— cryptsetup Fixed in cryptsetup 2.4.3, cryptsetup 2.3.7 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cryptsetup 2:2.4.3-1 —
Debian 13 cryptsetup 2:2.4.3-1 —
Debian 12 cryptsetup 2:2.4.3-1 —
Debian 11 cryptsetup 2:2.3.7-1+deb11u1 DSA-5070-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS cryptsetup 2:2.4.3-1ubuntu1 —
Ubuntu 20.04 LTS cryptsetup 2:2.2.2-3ubuntu2.4 USN-5286-1
ReleasePackageFixed inAdvisory
RHEL 8 cryptsetup +5 2.3.3-4.el8_5.1 RHSA-2022:0370

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 cryptsetup-devel 2.3.3-4.el8_5.1 ALSA-2022:0370

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 cryptsetup 2.3.3-4.el8_5.1 RLSA-2022:0370
ReleasePackageFixed inAdvisory
SLES 15 SP3 cryptsetup 2.3.7-150300.3.5.1 SUSE-SU-2022:0144-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.1 cryptsetup 2.3.7-150300.3.5.1 SUSE-SU-2022:0144-1
SUSE Package Hub 15 SP4 varnish 7.1.0-bp154.2.3.1 openSUSE-SU-2022:0144-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cryptsetup 2.4.3-1.1 openSUSE-SU-2024:11754-1
openSUSE Leap 15.4 varnish 7.1.0-bp154.2.3.1 openSUSE-SU-2022:0144-1
openSUSE Leap 15.3 cryptsetup 2.3.7-150300.3.5.1 openSUSE-SU-2022:0144-1
ReleasePackageFixed inAdvisory
Alpine v3.24 cryptsetup 2.4.3-r0 —
Alpine v3.23 cryptsetup 2.4.3-r0 —
Alpine v3.22 cryptsetup 2.4.3-r0 —
Alpine v3.21 cryptsetup 2.4.3-r0 —
Alpine v3.20 cryptsetup 2.4.3-r0 —
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 cryptsetup 2.4.3-r0 —
Alpine v3.18 cryptsetup 2.4.3-r0 —
Alpine v3.17 cryptsetup 2.4.3-r0 —
Alpine v3.16 cryptsetup 2.4.3-r0 —
Alpine v3.15 cryptsetup 2.4.3-r0 —
Alpine v3.14 cryptsetup 2.3.7-r0 —
Alpine v3.13 cryptsetup 2.3.7-r0 —
Alpine v3.12 cryptsetup 2.3.7-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 cryptsetup +5 2.3.3-4.el8_5.1 ELSA-2022-0370

Advisories 11

References