
CVE catalog
CVE-2021-4122
cryptsetup: CVE-2021-4122
- Severity
- Medium · CVSS 5.9
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.32% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | cryptsetup | sid | 2:2.8.8-1 | fixed |
| Debian | cryptsetup | forky | 2:2.8.8-1 | fixed |
| Debian | cryptsetup | trixie | 2:2.7.5-2 | fixed |
| Debian | cryptsetup | bookworm | 2:2.6.1-4~deb12u2 | fixed |
| Cpe | cryptsetup | Not reported | 2.4.3 | fixed |
| Alpine | cryptsetup | 3.12 | 2.3.7-r0 | fixed |
| Alpine | cryptsetup | 3.13 | 2.3.7-r0 | fixed |
| Alpine | cryptsetup | 3.14 | 2.3.7-r0 | fixed |
| Alpine | cryptsetup | 3.15 | 2.4.3-r0 | fixed |
| Alpine | cryptsetup | 3.16 | 2.4.3-r0 | fixed |
| Alpine | cryptsetup | 3.17 | 2.4.3-r0 | fixed |
| Alpine | cryptsetup | 3.18 | 2.4.3-r0 | fixed |
| Alpine | cryptsetup | 3.19 | 2.4.3-r0 | fixed |
| Alpine | cryptsetup | 3.20 | 2.4.3-r0 | fixed |
| Alpine | cryptsetup | 3.21 | 2.4.3-r0 | fixed |
| Alpine | cryptsetup | 3.22 | 2.4.3-r0 | fixed |
| Alpine | cryptsetup | 3.23 | 2.4.3-r0 | fixed |
| Alpine | cryptsetup | 3.24 | 2.4.3-r0 | fixed |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.0-3ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.1-1ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-1ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-2ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu2 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu2.2 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu2.3 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu2.4 | fixed |
| Ubuntu | cryptsetup | 22.04 | 2:2.3.6-0ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 22.04 | 2:2.4.2-1ubuntu3 | vulnerable |
| Ubuntu | cryptsetup | 22.04 | 2:2.4.2-1ubuntu4 | vulnerable |
| Ubuntu | cryptsetup | 22.04 | 2:2.4.3-1ubuntu1 | fixed |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.0-3ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.1-1ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-1ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-2ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu1 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu2 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu2.2 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu2.3 | vulnerable |
| Ubuntu | cryptsetup | 20.04 | 2:2.2.2-3ubuntu2.4 | fixed |
| Suse | varnish | package hub 15 sp4 | 7.1.0-bp154.2.3.1 | fixed |
| Opensuse | varnish | leap 15.4 | 7.1.0-bp154.2.3.1 | fixed |
| Opensuse | cryptsetup | leap 15.3 | 2.3.7-150300.3.5.1 | fixed |
| Suse | cryptsetup | linux enterprise module for basesystem 15 sp3 | 2.3.7-150300.3.5.1 | fixed |
| Suse | cryptsetup | linux enterprise micro 5.1 | 2.3.7-150300.3.5.1 | fixed |
| Opensuse | cryptsetup | tumbleweed | 2.4.3-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | cryptsetup | source | sid | 2:2.4.3-1 | not yet assigned | Not reported | [1003686] |
| Debian | cryptsetup | source | forky | 2:2.4.3-1 | not yet assigned | Not reported | [1003686] |
| Debian | cryptsetup | source | trixie | 2:2.4.3-1 | not yet assigned | Not reported | [1003686] |
| Debian | cryptsetup | source | bookworm | 2:2.4.3-1 | not yet assigned | Not reported | [1003686] |
| Cpe | cryptsetup | cpe | Not reported | 2.4.3 | Not reported | NVD-CVE-2021-4122 | Not reported |
| Alpine | cryptsetup | apk | 3.12 | 2.3.7-r0 | Not reported | ALPINE-CVE-2021-4122 | Not reported |
| Alpine | cryptsetup | apk | 3.13 | 2.3.7-r0 | Not reported | ALPINE-CVE-2021-4122 | Not reported |
| Alpine | cryptsetup | apk | 3.14 | 2.3.7-r0 | Not reported | ALPINE-CVE-2021-4122 | Not reported |
| Alpine | cryptsetup | apk | 3.15 | 2.4.3-r0 | Not reported | ALPINE-CVE-2021-4122 | Not reported |
| Alpine | cryptsetup | apk | 3.16 | 2.4.3-r0 | Not reported | ALPINE-CVE-2021-4122 | Not reported |
| Alpine | cryptsetup | apk | 3.17 | 2.4.3-r0 | Not reported | ALPINE-CVE-2021-4122 | Not reported |
| Alpine | cryptsetup | apk | 3.18 | 2.4.3-r0 | Not reported | ALPINE-CVE-2021-4122 | Not reported |
| Alpine | cryptsetup | apk | 3.19 | 2.4.3-r0 | Not reported | ALPINE-CVE-2021-4122 | Not reported |
| Alpine | cryptsetup | apk | 3.20 | 2.4.3-r0 | Not reported | ALPINE-CVE-2021-4122 | Not reported |
| Alpine | cryptsetup | apk | 3.21 | 2.4.3-r0 | Not reported | ALPINE-CVE-2021-4122 | Not reported |
| Alpine | cryptsetup | apk | 3.22 | 2.4.3-r0 | Not reported | ALPINE-CVE-2021-4122 | Not reported |
| Alpine | cryptsetup | apk | 3.23 | 2.4.3-r0 | Not reported | ALPINE-CVE-2021-4122 | Not reported |
| Alpine | cryptsetup | apk | 3.24 | 2.4.3-r0 | Not reported | ALPINE-CVE-2021-4122 | Not reported |
| Ubuntu | cryptsetup | deb | 20.04 | 2:2.2.2-3ubuntu2.4 | Not reported | UBUNTU-CVE-2021-4122 | Not reported |
| Ubuntu | cryptsetup | deb | 22.04 | 2:2.4.3-1ubuntu1 | Not reported | UBUNTU-CVE-2021-4122 | Not reported |
| Ubuntu | cryptsetup | deb | 20.04 | 2:2.2.2-3ubuntu2.4 | Not reported | USN-5286-1 | Not reported |
| Suse | varnish | rpm | package hub 15 sp4 | 7.1.0-bp154.2.3.1 | Not reported | OPENSUSE-SU-2022:0144-1 | Not reported |
| Opensuse | varnish | rpm | leap 15.4 | 7.1.0-bp154.2.3.1 | Not reported | OPENSUSE-SU-2022:0144-1 | Not reported |
| Opensuse | cryptsetup | rpm | leap 15.3 | 2.3.7-150300.3.5.1 | Not reported | OPENSUSE-SU-2022:0144-1 | Not reported |
| Suse | cryptsetup | rpm | linux enterprise module for basesystem 15 sp3 | 2.3.7-150300.3.5.1 | Not reported | SUSE-SU-2022:0144-1 | Not reported |
| Suse | cryptsetup | rpm | linux enterprise micro 5.1 | 2.3.7-150300.3.5.1 | Not reported | SUSE-SU-2022:0144-1 | Not reported |
| Opensuse | cryptsetup | rpm | tumbleweed | 2.4.3-1.1 | Not reported | OPENSUSE-SU-2024:11754-1 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [cryptsetup]Unknown
Details (2)
2:2.6.1-4~deb12u2· amd64 · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
2:2.6.1-4~deb12u2· arm64 · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
- [cryptsetup-bin]Unknown
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· amd64 · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
2:2.6.1-4~deb12u2· arm64 · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
- [cryptsetup-initramfs]Unknown
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· all · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
2:2.6.1-4~deb12u2· all · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
- [cryptsetup-run]Unknown
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· all · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
2:2.6.1-4~deb12u2· all · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
- [cryptsetup-ssh]Unknown
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· amd64 · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
2:2.6.1-4~deb12u2· arm64 · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
- [cryptsetup-suspend]Unknown
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· amd64 · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
2:2.6.1-4~deb12u2· arm64 · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
- [libcryptsetup12]Unknown
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· amd64 · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
2:2.6.1-4~deb12u2· arm64 · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
- [libcryptsetup-dev]Unknown
Source package: [cryptsetup]
Details (2)
2:2.6.1-4~deb12u2· amd64 · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
2:2.6.1-4~deb12u2· arm64 · bookwormFixed · Fixed:
2:2.4.3-1dsa · cryptsetup · debian · bookworm
[openSUSE Tumbleweed]
- [cryptsetup]Unknown
Source package: [cryptsetup]
Details (1)
2.8.7-1.2· x86_64 · tumbleweedFixed · Fixed:
2.4.3-1.1dsa · cryptsetup · opensuse · tumbleweed
- [cryptsetup-doc]Unknown
Source package: [cryptsetup]
Details (1)
2.8.7-1.2· noarch · tumbleweedUnknown · Fixed:
2.4.3-1.1Version impact unknown
dsa · cryptsetup · opensuse · tumbleweed
- [cryptsetup-lang]Unknown
Source package: [cryptsetup]
Details (1)
2.8.7-1.2· noarch · tumbleweedUnknown · Fixed:
2.4.3-1.1Version impact unknown
dsa · cryptsetup · opensuse · tumbleweed
- [cryptsetup-ssh]Unknown
Source package: [cryptsetup]
Details (1)
2.8.7-1.2· x86_64 · tumbleweedUnknown · Fixed:
2.4.3-1.1Version impact unknown
dsa · cryptsetup · opensuse · tumbleweed
- [libcryptsetup12]Unknown
Source package: [cryptsetup]
Details (1)
2.8.7-1.2· x86_64 · tumbleweedUnknown · Fixed:
2.4.3-1.1Version impact unknown
dsa · cryptsetup · opensuse · tumbleweed
- [libcryptsetup12-32bit]Unknown
Source package: [cryptsetup]
Details (1)
2.8.7-1.2· x86_64 · tumbleweedUnknown · Fixed:
2.4.3-1.1Version impact unknown
dsa · cryptsetup · opensuse · tumbleweed
- [libcryptsetup-devel]Unknown
Source package: [cryptsetup]
Details (1)
2.8.7-1.2· x86_64 · tumbleweedUnknown · Fixed:
2.4.3-1.1Version impact unknown
dsa · cryptsetup · opensuse · tumbleweed
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-398330.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2022_0370.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2021-4122]
- [https://osv.dev/vulnerability/ALPINE-CVE-2021-4122]
- [https://osv.dev/vulnerability/DSA-5070-1]
- [https://osv.dev/vulnerability/SUSE-SU-2022:0144-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-4122]
- [https://osv.dev/vulnerability/USN-5286-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2022:0144-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11754-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-4122]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-4122.json]
[CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]