CVE-2021-4122

cryptsetup: disable encryption via header rewrite

Published Aug 24, 2022 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5070-1 cryptsetup security update
EUVD EUVD EUVD-2021-33997 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.
Ubuntu USN Ubuntu USN USN-5286-1 cryptsetup vulnerability
Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Oct 14, 2026, 10:04 AM
Reserved
Dec 15, 2021, 12:00 AM
Status
Modified
Published
Aug 24, 2022, 4:15 PM
Modified
Oct 14, 2026, 11:16 AM
Severity
Moderate
Public date
Jan 13, 2022, 12:00 AM