CVE-2021-4122
Published: 13 January 2022
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.
Notes
Author | Note |
---|---|
alexmurray | Vulnerability is in the online re-encryption feature which is only supported by cryptsetup >= 2.2.0 |
mdeslaur | per upstream, the backport to 2.2 would be very problematic and it is suggested that the best option is to disable online reencryption |
Priority
Status
Package | Release | Status |
---|---|---|
cryptsetup Launchpad, Ubuntu, Debian |
jammy |
Released
(2:2.4.3-1ubuntu1)
|
bionic |
Not vulnerable
(code not present)
|
|
focal |
Released
(2:2.2.2-3ubuntu2.4)
|
|
hirsute |
Ignored
(end of life)
|
|
impish |
Released
(2:2.3.7-0ubuntu0.21.10.1)
|
|
upstream |
Released
(2.4.3,2.3.7)
|
|
Patches: upstream: https://gitlab.com/cryptsetup/cryptsetup/-/commit/0113ac2d889c5322659ad0596d4cfc6da53e356c (master) upstream: https://gitlab.com/cryptsetup/cryptsetup/-/commit/de98f011418c62e7b825a8ce3256e8fcdc84756e (v2.4) upstream: https://gitlab.com/cryptsetup/cryptsetup/-/commit/60addcffa6794c29dccf33d8db5347f24b75f2fc (v2.3) upstream: https://gitlab.com/cryptsetup/cryptsetup/-/commit/0fd1c62de9c53958a8ef5d436273284e166254c9 (v2.2 disable) |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.9 |
Attack vector | Physical |
Attack complexity | Low |
Privileges required | None |
User interaction | Required |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | None |
Vector | CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |