# CVE-2021-4122: It was found that a specially crafted LUKS header could trick cryptsetup into disabling encryption during the recovery of the device.

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2022-08-24T15:08:58.000Z
- Modified: 2026-10-14T11:16:54.753Z
- Weaknesses: CWE-345
- 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.

(As written by CVE List.)

## Affected

- cryptsetup: Fixed in cryptsetup 2.4.3, cryptsetup 2.3.7
- cryptsetup_project cryptsetup: before 2.3.7; from 2.4.0 before 2.4.3

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2031859> (permissions-required, third-party-advisory)
- <https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNotes> (release-notes, vendor-advisory)
- <https://gitlab.com/cryptsetup/cryptsetup/-/commit/0113ac2d889c5322659ad0596d4cfc6da53e356c> (patch, third-party-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2032401> (issue-tracking, third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2021-4122> (third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2021-4122](https://www.cve.org/CVERecord?id=CVE-2021-4122), CVE Terms of Use, modified 2026-10-14
- NVD: [CVE-2021-4122](https://nvd.nist.gov/vuln/detail/CVE-2021-4122), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2021-4122 · Whole record: https://cve.day/CVE-2021-4122.json · Rebuilt by cve.day 2026-11-25T22:58:07.781Z
