CVE-2021-4122

CVE-2021-4122 is a medium-severity vulnerability in Cryptsetup Project Cryptsetup with a CVSS 3.x base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-345.

Key facts

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.

Frequently asked questions

What is 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 disk, could use this flaw to force a user into permanently disabling the encryption layer of that medium.
How severe is CVE-2021-4122?
CVE-2021-4122 has a CVSS 3.x base score of 4.3, rated medium severity. It is exploitable over physical access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity high, and availability none.
Is CVE-2021-4122 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (20th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2021-4122?
CVE-2021-4122 affects Cryptsetup Project Cryptsetup. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2021-4122?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2021-4122 published?
CVE-2021-4122 was published on 2022-08-24 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Cryptsetup Project Cryptsetup

All CVEs affecting Cryptsetup Project Cryptsetup →

Other CWE-345 (Insufficient Verification of Data Authenticity) vulnerabilities

Browse all CWE-345 (Insufficient Verification of Data Authenticity) vulnerabilities →