Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Cryptsetup Project | Cryptsetup | < 2.3.7 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2021-4122Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2031859Permissions RequiredThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2032401Issue TrackingThird Party Advisory
- https://gitlab.com/cryptsetup/cryptsetup/-/commit/0113ac2d889c5322659ad0596d4cfcPatchThird Party Advisory
- https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNoRelease NotesVendor Advisory
- https://access.redhat.com/security/cve/CVE-2021-4122Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2031859Permissions RequiredThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2032401Issue TrackingThird Party Advisory
- https://gitlab.com/cryptsetup/cryptsetup/-/commit/0113ac2d889c5322659ad0596d4cfcPatchThird Party Advisory
- https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNoRelease NotesVendor Advisory
FAQ
What is CVE-2021-4122?
CVE-2021-4122 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 di...
How severe is CVE-2021-4122?
CVE-2021-4122 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-4122?
Check the references section above for vendor advisories and patch information. Affected products include: Cryptsetup Project Cryptsetup.