CVE-2021-4122Cryptsetup Project Cryptsetup
Medium 4.3
Follow: this CVE · Cryptsetup Project · Cryptsetup Project Cryptsetup We alert you by email or Slack (account required).
- Priority
- 26
- CVSS 3.1
- 4.3
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 17
- Auth required
- Yes
- Published
- Aug 24, 2022
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-345
- Vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
What happens
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
- Apply the vendor's security update for Cryptsetup.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| cryptsetup_project | cryptsetup | < 2.3.7 |
| cryptsetup_project | cryptsetup | ≥ 2.4.0 < 2.4.3 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- bugzilla.redhat.com Permissions Required Third Party Advisory
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- gitlab.com Patch Third Party Advisory
- mirrors.edge.kernel.org Release Notes Vendor Advisory
- cert-portal.siemens.com