CVE-2021-4122

Summary

CVECVE-2021-4122
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-08-24 16:15:09 UTC
Updated2026-10-14 11:16:54 UTC
DescriptionIt 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.

Risk And Classification

Primary CVSS: v3.1 4.3 MEDIUM from [email protected]

CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Problem Types: CWE-345 | CWE-345 CWE-345 - Insufficient Verification of Data Authenticity

CVSS v3.1 Breakdown

Attack Vector
Physical
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
None

CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Cryptsetup Project Cryptsetup All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na Cryptsetup affected Fixed in cryptsetup 2.4.3, cryptsetup 2.3.7 Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified

References

ReferenceSourceLinkTags
cert-portal.siemens.com/productcert/html/ssa-398330.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
2032401 – (CVE-2021-4122) CVE-2021-4122 cryptsetup: disable encryption via header rewrite af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Issue Tracking, Third Party Advisory
Fix CVE-2021-4122 - LUKS2 reencryption crash recovery attack (0113ac2d) · Commits · cryptsetup / cryptsetup · GitLab af854a3a-2127-422b-91ae-364da2661108 gitlab.com Patch, Third Party Advisory
Bug Access Denied af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com Permissions Required, Third Party Advisory
Red Hat Customer Portal - Access to 24x7 support and knowledge af854a3a-2127-422b-91ae-364da2661108 access.redhat.com Third Party Advisory
mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNotes af854a3a-2127-422b-91ae-364da2661108 mirrors.edge.kernel.org Release Notes, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 159625 Oracle Enterprise Linux Security Update for cryptsetup (ELSA-2022-0370)
  • 179063 Debian Security Update for cryptsetup (DSA 5070-1)
  • 182753 Debian Security Update for cryptsetup (CVE-2021-4122)
  • 198664 Ubuntu Security Notification for cryptsetup Vulnerability (USN-5286-1)
  • 240053 Red Hat Update for cryptsetup (RHSA-2022:0370)
  • 282245 Fedora Security Update for cryptsetup (FEDORA-2022-40d0a8de5e)
  • 282290 Fedora Security Update for cryptsetup (FEDORA-2022-61b55b6ebc)
  • 354309 Amazon Linux Security Advisory for cryptsetup : ALAS2022-2022-174
  • 354362 Amazon Linux Security Advisory for cryptsetup : ALAS2022-2022-064
  • 355258 Amazon Linux Security Advisory for cryptsetup : ALAS2023-2023-027
  • 377364 Alibaba Cloud Linux Security Update for cryptsetup (ALINUX3-SA-2022:0008)
  • 500106 Alpine Linux Security Update for cryptsetup
  • 501952 Alpine Linux Security Update for cryptsetup
  • 503884 Alpine Linux Security Update for cryptsetup
  • 591406 Siemens SIMATIC S7-1500 CPU GNU/Linux subsystem Multiple Vulnerabilities (SSB-439005, ICSA-22-104-13)
  • 672118 EulerOS Security Update for cryptsetup (EulerOS-SA-2022-2308)
  • 672145 EulerOS Security Update for cryptsetup (EulerOS-SA-2022-2411)
  • 672175 EulerOS Security Update for cryptsetup (EulerOS-SA-2022-2424)
  • 672482 EulerOS Security Update for cryptsetup (EulerOS-SA-2023-1029)
  • 672518 EulerOS Security Update for cryptsetup (EulerOS-SA-2023-1004)
  • 751628 OpenSUSE Security Update for cryptsetup (openSUSE-SU-2022:0144-1)
  • 752012 SUSE Enterprise Linux Security Update for cryptsetup (SUSE-SU-2022:0144-1)
  • 903769 Common Base Linux Mariner (CBL-Mariner) Security Update for cryptsetup (10697)
  • 904193 Common Base Linux Mariner (CBL-Mariner) Security Update for cryptsetup (10697-1)
  • 940447 AlmaLinux Security Update for cryptsetup (ALSA-2022:0370)
  • 960108 Rocky Linux Security Update for cryptsetup (RLSA-2022:370)
  • 960790 Rocky Linux Security Update for cryptsetup (RLSA-2022:0370)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report