cve.bz

CVE-2021-4122 cryptsetup project cryptsetup

4.3 mediumEPSS 0.3%Fix available

Medium (4.3) in cryptsetup project cryptsetup. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

4.3 medium
CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 25th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-345 Insufficient Verification of Data Authenticity
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-4122 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-4122?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-4122?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-4122 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cryptsetup_project:cryptsetupbefore 2.3.7
cryptsetup_project:cryptsetupfrom 2.4.0 before 2.4.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11cryptsetup2:2.3.7-1+deb11u1DSA-5070-1
Debian12, 13, 14cryptsetup2:2.4.3-1DEBIAN-CVE-2021-4122
Ubuntu20.04:LTScryptsetup2:2.2.2-3ubuntu2.4UBUNTU-CVE-2021-4122 USN-5286-1
Ubuntu22.04:LTScryptsetup2:2.4.3-1ubuntu1UBUNTU-CVE-2021-4122
Red Hatenterprise_linux:8::appstreamcryptsetup-devel, cryptsetup-debuginfo, veritysetup-debuginfo and 4 more0:2.3.3-4.el8_5.1RHSA-2022:0370
Red Hatenterprise_linux:8::baseoscryptsetup, veritysetup, integritysetup and 8 more0:2.3.3-4.el8_5.1RHSA-2022:0370
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3cryptsetup2.3.7-150300.3.5.1SUSE-SU-2022:0144-1
SUSEPackage Hub 15 SP4varnish7.1.0-bp154.2.3.1openSUSE-SU-2022:0144-1
openSUSELeap 15.3cryptsetup2.3.7-150300.3.5.1openSUSE-SU-2022:0144-1
openSUSELeap 15.4varnish7.1.0-bp154.2.3.1openSUSE-SU-2022:0144-1
openSUSETumbleweedcryptsetup2.4.3-1.1openSUSE-SU-2024:11754-1
AlmaLinux8cryptsetup-devel2.3.3-4.el8_5.1ALSA-2022:0370
Rocky Linux8cryptsetup0:2.3.3-4.el8_5.1RLSA-2022:0370
Alpinev3.12, v3.13, v3.14cryptsetup2.3.7-r0ALPINE-CVE-2021-4122
Alpinev3.15, v3.16, v3.17 and 7 morecryptsetup2.4.3-r0ALPINE-CVE-2021-4122

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat Enterprise Linux version 7 and older are not affected since they do not support online reencryption.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8cryptsetup-0:2.3.3-4.el8_5.1Fixed 2022-02-01RHSA-2022:0370
Red Hat Enterprise Linux 7cryptsetupNot affected
Red Hat Enterprise Linux 9cryptsetupNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-4122.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-345 (12).

References

Check your stackJSON