4.3medium
It was found that a specially crafted LUKS header could trick cryptsetup into disabling encryption during the recovery of the device.
- Severity
- 4.3medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.32% (higher than 26% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| cryptsetup | Fixed in cryptsetup 2.4.3, cryptsetup 2.3.7 | CVE List |
| cryptsetup_project cryptsetup | before 2.3.7, from 2.4.0 before 2.4.3 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
Se ha detectado que un encabezado LUKS especialmente diseñada podía engañar a cryptsetup para que deshabilitara el cifrado durante la recuperación del dispositivo. Un atacante con acceso físico al medio, como un disco flash, podría usar este fallo para forzar a un usuario a deshabilitar permanentemente la capa de cifrado de ese medio.
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-4122 changed 2026-10-14 | CVE Terms of Use |
| NVD | CVE-2021-4122 changed 2026-10-14 | Public domain |