CVE catalog

CVE-2021-4122

cryptsetup: CVE-2021-4122

[CVE catalog]

Severity
Medium · CVSS 5.9CVSS: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.

DistributionPackageReleaseVersionStatus
Debiancryptsetupsid2:2.8.8-1fixed
Debiancryptsetupforky2:2.8.8-1fixed
Debiancryptsetuptrixie2:2.7.5-2fixed
Debiancryptsetupbookworm2:2.6.1-4~deb12u2fixed
CpecryptsetupNot reported2.4.3fixed
Alpinecryptsetup3.122.3.7-r0fixed
Alpinecryptsetup3.132.3.7-r0fixed
Alpinecryptsetup3.142.3.7-r0fixed
Alpinecryptsetup3.152.4.3-r0fixed
Alpinecryptsetup3.162.4.3-r0fixed
Alpinecryptsetup3.172.4.3-r0fixed
Alpinecryptsetup3.182.4.3-r0fixed
Alpinecryptsetup3.192.4.3-r0fixed
Alpinecryptsetup3.202.4.3-r0fixed
Alpinecryptsetup3.212.4.3-r0fixed
Alpinecryptsetup3.222.4.3-r0fixed
Alpinecryptsetup3.232.4.3-r0fixed
Alpinecryptsetup3.242.4.3-r0fixed
Ubuntucryptsetup20.042:2.2.0-3ubuntu1vulnerable
Ubuntucryptsetup20.042:2.2.1-1ubuntu1vulnerable
Ubuntucryptsetup20.042:2.2.2-1ubuntu1vulnerable
Ubuntucryptsetup20.042:2.2.2-2ubuntu1vulnerable
Ubuntucryptsetup20.042:2.2.2-3ubuntu1vulnerable
Ubuntucryptsetup20.042:2.2.2-3ubuntu2vulnerable
Ubuntucryptsetup20.042:2.2.2-3ubuntu2.2vulnerable
Ubuntucryptsetup20.042:2.2.2-3ubuntu2.3vulnerable
Ubuntucryptsetup20.042:2.2.2-3ubuntu2.4fixed
Ubuntucryptsetup22.042:2.3.6-0ubuntu1vulnerable
Ubuntucryptsetup22.042:2.4.2-1ubuntu3vulnerable
Ubuntucryptsetup22.042:2.4.2-1ubuntu4vulnerable
Ubuntucryptsetup22.042:2.4.3-1ubuntu1fixed
Ubuntucryptsetup20.042:2.2.0-3ubuntu1vulnerable
Ubuntucryptsetup20.042:2.2.1-1ubuntu1vulnerable
Ubuntucryptsetup20.042:2.2.2-1ubuntu1vulnerable
Ubuntucryptsetup20.042:2.2.2-2ubuntu1vulnerable
Ubuntucryptsetup20.042:2.2.2-3ubuntu1vulnerable
Ubuntucryptsetup20.042:2.2.2-3ubuntu2vulnerable
Ubuntucryptsetup20.042:2.2.2-3ubuntu2.2vulnerable
Ubuntucryptsetup20.042:2.2.2-3ubuntu2.3vulnerable
Ubuntucryptsetup20.042:2.2.2-3ubuntu2.4fixed
Susevarnishpackage hub 15 sp47.1.0-bp154.2.3.1fixed
Opensusevarnishleap 15.47.1.0-bp154.2.3.1fixed
Opensusecryptsetupleap 15.32.3.7-150300.3.5.1fixed
Susecryptsetuplinux enterprise module for basesystem 15 sp32.3.7-150300.3.5.1fixed
Susecryptsetuplinux enterprise micro 5.12.3.7-150300.3.5.1fixed
Opensusecryptsetuptumbleweed2.4.3-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancryptsetupsourcesid2:2.4.3-1not yet assignedNot reported[1003686]
Debiancryptsetupsourceforky2:2.4.3-1not yet assignedNot reported[1003686]
Debiancryptsetupsourcetrixie2:2.4.3-1not yet assignedNot reported[1003686]
Debiancryptsetupsourcebookworm2:2.4.3-1not yet assignedNot reported[1003686]
CpecryptsetupcpeNot reported2.4.3Not reportedNVD-CVE-2021-4122Not reported
Alpinecryptsetupapk3.122.3.7-r0Not reportedALPINE-CVE-2021-4122Not reported
Alpinecryptsetupapk3.132.3.7-r0Not reportedALPINE-CVE-2021-4122Not reported
Alpinecryptsetupapk3.142.3.7-r0Not reportedALPINE-CVE-2021-4122Not reported
Alpinecryptsetupapk3.152.4.3-r0Not reportedALPINE-CVE-2021-4122Not reported
Alpinecryptsetupapk3.162.4.3-r0Not reportedALPINE-CVE-2021-4122Not reported
Alpinecryptsetupapk3.172.4.3-r0Not reportedALPINE-CVE-2021-4122Not reported
Alpinecryptsetupapk3.182.4.3-r0Not reportedALPINE-CVE-2021-4122Not reported
Alpinecryptsetupapk3.192.4.3-r0Not reportedALPINE-CVE-2021-4122Not reported
Alpinecryptsetupapk3.202.4.3-r0Not reportedALPINE-CVE-2021-4122Not reported
Alpinecryptsetupapk3.212.4.3-r0Not reportedALPINE-CVE-2021-4122Not reported
Alpinecryptsetupapk3.222.4.3-r0Not reportedALPINE-CVE-2021-4122Not reported
Alpinecryptsetupapk3.232.4.3-r0Not reportedALPINE-CVE-2021-4122Not reported
Alpinecryptsetupapk3.242.4.3-r0Not reportedALPINE-CVE-2021-4122Not reported
Ubuntucryptsetupdeb20.042:2.2.2-3ubuntu2.4Not reportedUBUNTU-CVE-2021-4122Not reported
Ubuntucryptsetupdeb22.042:2.4.3-1ubuntu1Not reportedUBUNTU-CVE-2021-4122Not reported
Ubuntucryptsetupdeb20.042:2.2.2-3ubuntu2.4Not reportedUSN-5286-1Not reported
Susevarnishrpmpackage hub 15 sp47.1.0-bp154.2.3.1Not reportedOPENSUSE-SU-2022:0144-1Not reported
Opensusevarnishrpmleap 15.47.1.0-bp154.2.3.1Not reportedOPENSUSE-SU-2022:0144-1Not reported
Opensusecryptsetuprpmleap 15.32.3.7-150300.3.5.1Not reportedOPENSUSE-SU-2022:0144-1Not reported
Susecryptsetuprpmlinux enterprise module for basesystem 15 sp32.3.7-150300.3.5.1Not reportedSUSE-SU-2022:0144-1Not reported
Susecryptsetuprpmlinux enterprise micro 5.12.3.7-150300.3.5.1Not reportedSUSE-SU-2022:0144-1Not reported
Opensusecryptsetuprpmtumbleweed2.4.3-1.1Not reportedOPENSUSE-SU-2024:11754-1Not reported

[Debian bug #1003686]

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 · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

    • 2:2.6.1-4~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

  • Source package: [cryptsetup]

    Details (2)
    • 2:2.6.1-4~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

    • 2:2.6.1-4~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

  • Source package: [cryptsetup]

    Details (2)
    • 2:2.6.1-4~deb12u2 · all · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

    • 2:2.6.1-4~deb12u2 · all · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

  • Source package: [cryptsetup]

    Details (2)
    • 2:2.6.1-4~deb12u2 · all · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

    • 2:2.6.1-4~deb12u2 · all · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

  • Source package: [cryptsetup]

    Details (2)
    • 2:2.6.1-4~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

    • 2:2.6.1-4~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

  • Source package: [cryptsetup]

    Details (2)
    • 2:2.6.1-4~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

    • 2:2.6.1-4~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

  • Source package: [cryptsetup]

    Details (2)
    • 2:2.6.1-4~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

    • 2:2.6.1-4~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

  • Source package: [cryptsetup]

    Details (2)
    • 2:2.6.1-4~deb12u2 · amd64 · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

    • 2:2.6.1-4~deb12u2 · arm64 · bookworm

      Fixed · Fixed: 2:2.4.3-1

      dsa · cryptsetup · debian · bookworm

[openSUSE Tumbleweed]

  • [cryptsetup]Unknown

    Source package: [cryptsetup]

    Details (1)
    • 2.8.7-1.2 · x86_64 · tumbleweed

      Fixed · Fixed: 2.4.3-1.1

      dsa · cryptsetup · opensuse · tumbleweed

  • Source package: [cryptsetup]

    Details (1)
    • 2.8.7-1.2 · noarch · tumbleweed

      Unknown · Fixed: 2.4.3-1.1

      Version impact unknown

      dsa · cryptsetup · opensuse · tumbleweed

  • Source package: [cryptsetup]

    Details (1)
    • 2.8.7-1.2 · noarch · tumbleweed

      Unknown · Fixed: 2.4.3-1.1

      Version impact unknown

      dsa · cryptsetup · opensuse · tumbleweed

  • Source package: [cryptsetup]

    Details (1)
    • 2.8.7-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 2.4.3-1.1

      Version impact unknown

      dsa · cryptsetup · opensuse · tumbleweed

  • Source package: [cryptsetup]

    Details (1)
    • 2.8.7-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 2.4.3-1.1

      Version impact unknown

      dsa · cryptsetup · opensuse · tumbleweed

  • Source package: [cryptsetup]

    Details (1)
    • 2.8.7-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 2.4.3-1.1

      Version impact unknown

      dsa · cryptsetup · opensuse · tumbleweed

  • Source package: [cryptsetup]

    Details (1)
    • 2.8.7-1.2 · x86_64 · tumbleweed

      Unknown · Fixed: 2.4.3-1.1

      Version impact unknown

      dsa · cryptsetup · opensuse · tumbleweed

Observed:

References