CVE Vulnerabilities

CVE-2021-4122

Insufficient Verification of Data Authenticity

Published: Aug 24, 2022 | Modified: Nov 21, 2024
CVSS 3.x
4.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
5.9 MODERATE
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.

Affected Software

NameVendorStart VersionEnd Version
CryptsetupCryptsetup_project*2.3.7 (excluding)
CryptsetupCryptsetup_project2.4.0 (including)2.4.3 (excluding)
Red Hat Enterprise Linux 8RedHatcryptsetup-0:2.3.3-4.el8_5.1*
Red Hat Enterprise Linux 8RedHatcryptsetup-0:2.3.3-4.el8_5.1*
CryptsetupUbuntudevel*
CryptsetupUbuntuesm-infra/focal*
CryptsetupUbuntufocal*
CryptsetupUbuntuhirsute*
CryptsetupUbuntuimpish*
CryptsetupUbuntujammy*
CryptsetupUbuntuupstream*

References