Vulnerabilities

CVE-2021-4122

Medium 4.3 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2022-08-24
Last modified
2026-10-14
Assigned by
secalert@redhat.com
CVSS vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 21 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Cryptsetup Project Cryptsetup < 2.3.7 Affected
Cryptsetup Project Cryptsetup ≥ 2.4.0, < 2.4.3 Affected

Weakness type

Attack techniques

Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.

  • T1211: Exploitation for Stealth stealth
  • T1491: Defacement impact
  • T1542.002: Component Firmware stealth, persistence
  • T1556: Modify Authentication Process defense-impairment, persistence, credential-access
  • T1557.002: ARP Cache Poisoning credential-access, collection
  • T1584.002: DNS Server resource-development

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities