CVE-2021-4122: LUKS - Encryption Disable
- Cve: CVE-2021-4122
- Name: LUKS - Encryption Disable
- 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.
- Impact: Attackers can disable encryption on the medium, leading to exposure of sensitive data and loss of data confidentiality.
- Remediation: Update cryptsetup to the latest version or apply available patches to fix the header validation process.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
- Epss score: 0.00319
- Epss percentile: 0.25365
- Assignee: [email protected]
- Published at: 2022-08-24T16:15:09Z
- Age in days: 1553
- Modified at: 2026-10-14T11:16:54Z
- Patch available: yes
- References total: 6
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-4122
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-345 | Insufficient Verification of Data Authenticity |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://gitlab.com/cryptsetup/cryptsetup/-/commit/0113ac2d889c5322659ad0596d4cfc6da53e356c | Patch, Third Party Advisory |
| https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNotes | Release Notes, Vendor Advisory |
| https://access.redhat.com/security/cve/CVE-2021-4122 | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2031859 | Permissions Required, Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2032401 | Issue Tracking, Third Party Advisory |
| https://cert-portal.siemens.com/productcert/html/ssa-398330.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| cryptsetup_project:cryptsetup | >= 2.4.0, < 2.4.3; < 2.3.7 | no | nvd | /v1/products/cryptsetup_project/cryptsetup |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts