CVE-2021-4122
publishedcryptsetup: disable encryption via header rewrite
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | cryptsetupFixed in cryptsetup 2.4.3, cryptsetup 2.3.7 | Affected | Not stated | redhat |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Alpine Linux | edge | cryptsetup | Fixed | 2.4.3-r0 | Package fix record |
| Debian | bullseye | cryptsetup | Advisory build | 2:2.3.7-1+deb11u1 | DSA-5070-1 |
| Oracle Linux | 8 | cryptsetupaarch64 | Advisory build | 0:2.3.3-4.el8_5.1 | ELSA-2022-0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupaarch64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| SUSE / openSUSE | SLE-15-SP3 | cryptsetupaarch64 | Advisory build | 2.3.7-150300.3.5.1 | SUSE-SU-2022:0144-1 |
| Ubuntu | focal | cryptsetup | Advisory build | 2:2.2.2-3ubuntu2.4 | USN-5286-1 |
| AlmaLinux | 8 | cryptsetup-devel | Advisory build | 2.3.3-4.el8_5.1 | ALSA-2022:0370 |
| Alpine Linux | v3.12 | cryptsetup | Fixed | 2.3.7-r0 | Package fix record |
| Alpine Linux | v3.13 | cryptsetup | Fixed | 2.3.7-r0 | Package fix record |
| Alpine Linux | v3.14 | cryptsetup | Fixed | 2.3.7-r0 | Package fix record |
| Alpine Linux | v3.15 | cryptsetup | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.16 | cryptsetup | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.17 | cryptsetup | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.18 | cryptsetup | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.19 | cryptsetup | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.20 | cryptsetup | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.21 | cryptsetup | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.22 | cryptsetup | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.23 | cryptsetup | Fixed | 2.4.3-r0 | Package fix record |
| Alpine Linux | v3.24 | cryptsetup | Fixed | 2.4.3-r0 | Package fix record |
| Oracle Linux | 8 | cryptsetupx86_64 | Advisory build | 0:2.3.3-4.el8_5.1 | ELSA-2022-0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupppc64le | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetups390x | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupsrc | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetupx86_64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| SUSE / openSUSE | SLE-15-SP3 | cryptsetupppc64le | Advisory build | 2.3.7-150300.3.5.1 | SUSE-SU-2022:0144-1 |
| SUSE / openSUSE | SLE-15-SP3 | cryptsetups390x | Advisory build | 2.3.7-150300.3.5.1 | SUSE-SU-2022:0144-1 |
| SUSE / openSUSE | SLE-15-SP3 | cryptsetupx86_64 | Advisory build | 2.3.7-150300.3.5.1 | SUSE-SU-2022:0144-1 |
| SUSE / openSUSE | SLE-5 | cryptsetupaarch64 | Advisory build | 2.3.7-150300.3.5.1 | SUSE-SU-2022:0144-1 |
| SUSE / openSUSE | SLE-5 | cryptsetups390x | Advisory build | 2.3.7-150300.3.5.1 | SUSE-SU-2022:0144-1 |
| SUSE / openSUSE | SLE-5 | cryptsetupx86_64 | Advisory build | 2.3.7-150300.3.5.1 | SUSE-SU-2022:0144-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | cryptsetupaarch64 | Advisory build | 2.3.7-150300.3.5.1 | OPENSUSE-SU-2022:0144-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | cryptsetupppc64le | Advisory build | 2.3.7-150300.3.5.1 | OPENSUSE-SU-2022:0144-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | cryptsetups390x | Advisory build | 2.3.7-150300.3.5.1 | OPENSUSE-SU-2022:0144-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | cryptsetupx86_64 | Advisory build | 2.3.7-150300.3.5.1 | OPENSUSE-SU-2022:0144-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cryptsetupaarch64 | Advisory build | 2.4.3-1.1 | OPENSUSE-SU-2024:11754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cryptsetupppc64le | Advisory build | 2.4.3-1.1 | OPENSUSE-SU-2024:11754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cryptsetups390x | Advisory build | 2.4.3-1.1 | OPENSUSE-SU-2024:11754-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | cryptsetupx86_64 | Advisory build | 2.4.3-1.1 | OPENSUSE-SU-2024:11754-1 |
| Oracle Linux | 8 | cryptsetup-develaarch64 | Advisory build | 0:2.3.3-4.el8_5.1 | ELSA-2022-0370 |
| Oracle Linux | 8 | cryptsetup-develx86_64 | Advisory build | 0:2.3.3-4.el8_5.1 | ELSA-2022-0370 |
| Oracle Linux | 8 | cryptsetup-libsaarch64 | Advisory build | 0:2.3.3-4.el8_5.1 | ELSA-2022-0370 |
| Oracle Linux | 8 | cryptsetup-libsx86_64 | Advisory build | 0:2.3.3-4.el8_5.1 | ELSA-2022-0370 |
| Oracle Linux | 8 | cryptsetup-reencryptaarch64 | Advisory build | 0:2.3.3-4.el8_5.1 | ELSA-2022-0370 |
| Oracle Linux | 8 | cryptsetup-reencryptx86_64 | Advisory build | 0:2.3.3-4.el8_5.1 | ELSA-2022-0370 |
| Oracle Linux | 8 | integritysetupaarch64 | Advisory build | 0:2.3.3-4.el8_5.1 | ELSA-2022-0370 |
| Oracle Linux | 8 | integritysetupx86_64 | Advisory build | 0:2.3.3-4.el8_5.1 | ELSA-2022-0370 |
| Oracle Linux | 8 | veritysetupaarch64 | Advisory build | 0:2.3.3-4.el8_5.1 | ELSA-2022-0370 |
| Oracle Linux | 8 | veritysetupx86_64 | Advisory build | 0:2.3.3-4.el8_5.1 | ELSA-2022-0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfoaarch64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfoi686 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfoppc64le | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfos390x | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debuginfox86_64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourceaarch64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourcei686 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourceppc64le | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsources390x | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-debugsourcex86_64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develaarch64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develi686 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develppc64le | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-devels390x | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-develx86_64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libsaarch64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libsi686 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libsppc64le | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libss390x | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libsx86_64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libs-debuginfoaarch64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libs-debuginfoi686 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libs-debuginfoppc64le | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libs-debuginfos390x | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-libs-debuginfox86_64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-reencryptaarch64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-reencryptppc64le | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-reencrypts390x | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-reencryptx86_64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-reencrypt-debuginfoaarch64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-reencrypt-debuginfoi686 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-reencrypt-debuginfoppc64le | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-reencrypt-debuginfos390x | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | cryptsetup-reencrypt-debuginfox86_64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | integritysetupaarch64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | integritysetupppc64le | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | integritysetups390x | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | integritysetupx86_64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | integritysetup-debuginfoaarch64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | integritysetup-debuginfoi686 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | integritysetup-debuginfoppc64le | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | integritysetup-debuginfos390x | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | integritysetup-debuginfox86_64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | veritysetupaarch64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | veritysetupppc64le | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | veritysetups390x | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | veritysetupx86_64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | veritysetup-debuginfoaarch64 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | veritysetup-debuginfoi686 | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | veritysetup-debuginfoppc64le | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
| Red Hat Enterprise Linux | RHEL-8 | veritysetup-debuginfos390x | Advisory build | 2.3.3-4.el8_5.1 | RHSA-2022:0370 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | cryptsetup | Fixed in cryptsetup 2.4.3, cryptsetup 2.3.7 (affected) | redhat · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-345 CWE-345 - Insufficient Verification of Data Authenticity
References
6- https://access.redhat.com/security/cve/CVE-2021-4122
- https://bugzilla.redhat.com/show_bug.cgi?id=2031859
- https://bugzilla.redhat.com/show_bug.cgi?id=2032401
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://gitlab.com/cryptsetup/cryptsetup/-/commit/0113ac2d889c5322659ad0596d4cfc6da53e356c
- https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNotes
Provider assertions
3redhat · cna
siemens-SADP · adp
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d76d91abea8a985101d1431990b6285d4920bb7296e9dd3f81107672862dd018
- Ingested
- 14 Oct 2026, 14:23:10 UTC
- Source record
- Official CVE record