CVE-2021-4122
Last modified
CVE-2021-4122 is a medium-severity vulnerability rated 4.3/10 on the CVSS scale. 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.. EPSS estimates a 0.28% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cryptsetup Project | Cryptsetup | < 2.3.7 |
| Cryptsetup Project | Cryptsetup | >= 2.4.0, < 2.4.3 |
References
- https://access.redhat.com/security/cve/CVE-2021-4122Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2031859Permissions Required, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2032401Issue Tracking, Third Party Advisory
- https://gitlab.com/cryptsetup/cryptsetup/-/commit/0113ac2d889c5322659ad0596d4cfc6da53e356cPatch, Third Party Advisory
- https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNotesRelease Notes, Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2021-4122Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2031859Permissions Required, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2032401Issue Tracking, Third Party Advisory
- https://gitlab.com/cryptsetup/cryptsetup/-/commit/0113ac2d889c5322659ad0596d4cfc6da53e356cPatch, Third Party Advisory
- https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNotesRelease Notes, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-4122?
How severe is CVE-2021-4122?
How do I fix CVE-2021-4122?
Are you affected by CVE-2021-4122?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
