Vulnerability · Published Aug 24, 2022 · Assigned by redhat
CVE-2021-4122
Medium 4.3
In plain English
A medium-severity insufficient verification of data authenticity in cryptsetup. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)4.3Medium
Exploit odds (30 days)0.3%top 75.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | cryptsetup-devel | 2.3.3-4.el8_5.1 | ALSA-2022:0370 |
| Alpine:v3.20 | cryptsetup | 2.4.3-r0 | ALPINE-CVE-2021-4122 |
| Alpine:v3.21 | cryptsetup | 2.4.3-r0 | ALPINE-CVE-2021-4122 |
| Alpine:v3.22 | cryptsetup | 2.4.3-r0 | ALPINE-CVE-2021-4122 |
| Alpine:v3.23 | cryptsetup | 2.4.3-r0 | ALPINE-CVE-2021-4122 |
| Alpine:v3.24 | cryptsetup | 2.4.3-r0 | ALPINE-CVE-2021-4122 |
| Debian:12 | cryptsetup | 2:2.4.3-1 | DEBIAN-CVE-2021-4122 |
| Debian:13 | cryptsetup | 2:2.4.3-1 | DEBIAN-CVE-2021-4122 |
| Debian:14 | cryptsetup | 2:2.4.3-1 | DEBIAN-CVE-2021-4122 |
| Rocky Linux:8 | cryptsetup | 0:2.3.3-4.el8_5.1 | RLSA-2022:0370 |
| Ubuntu:22.04:LTS | cryptsetup | 2:2.4.3-1ubuntu1 | UBUNTU-CVE-2021-4122 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | cryptsetup | Fixed in cryptsetup 2.4.3, cryptsetup 2.3.7 |
Weakness: CWE-345
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2031859 x_refsource_MISC
- https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNotes x_refsource_MISC
- https://gitlab.com/cryptsetup/cryptsetup/-/commit/0113ac2d889c5322659ad0596d4cfc6da53e356c x_refsource_MISC
- https://bugzilla.redhat.com/show_bug.cgi?id=2032401 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2021-4122 x_refsource_MISC
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html