CVE-2021-4122
At a glance
- Severity
- Not available
- EPSS
- EPSS 0.32 % · percentile 25 (2026-10-27)
- State
- PUBLISHED
- Published
- Updated
- Assigner
- redhat
- NVD status
- Modified
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.
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N | NVD · nvd@nist.gov (Primary) |
Weaknesses (CWE)
European references
- ENISA EUVD · EUVD-2021-33997
- GCVE · GCVE-0-2021-4122
CERT-FR advisories
- CERTFR-2025-AVI-0756 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2023-AVI-1015 — Multiples vulnérabilités dans les produits Siemens · cert.ssi.gouv.fr
- CERTFR-2022-AVI-544 — Multiples vulnérabilités dans IBM Netcool Operations Insight · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:cryptsetup_project:cryptsetup:*:*:*:*:*:*:*:*< 2.3.7cpe:2.3:a:cryptsetup_project:cryptsetup:*:*:*:*:*:*:*:*≥ 2.4.0 < 2.4.3
Affected products
| Product | Versions |
|---|---|
| cryptsetup | affected Fixed in cryptsetup 2.4.3, cryptsetup 2.3.7 |
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
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |