# CVE-2021-4122: cryptsetup: The cryptsetup packages provide a utility for setting up disk encryption using the dm-crypt kernel module.  Security...

CVE-2021-4122 is fixed in 11 products on 1 platform, first by cryptsetup 2:2.2.2-3ubuntu2.4, released January 12, 2022. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-4122
- Priority: Routine
- CVSS: 5.9 (Moderate)
- EPSS: 0.0032
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jan 12, 2022

## Description

The cryptsetup packages provide a utility for setting up disk encryption using the dm-crypt kernel module.  Security Fix(es):  * cryptsetup: disable encryption via header rewrite (CVE-2021-4122)  For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | cryptsetup Debian 11.6 (bullseye) | 2:2.3.7-1+deb11u1 | [DSA-5070-1](https://patchblox.com/security/data/fix/linux/dsa-5070-1.md) | Feb 10, 2022 |
| Linux | cryptsetup Debian 12.15 (bookworm) | 2:2.4.3-1 | [DEBIAN-CVE-2021-4122](https://patchblox.com/security/data/fix/linux/debian-cve-2021-4122.md) | Aug 24, 2022 |
| Linux | cryptsetup Debian 13.5 (trixie) | 2:2.4.3-1 | [DEBIAN-CVE-2021-4122](https://patchblox.com/security/data/fix/linux/debian-cve-2021-4122.md) | Aug 24, 2022 |
| Linux | cryptsetup Debian 14 | 2:2.4.3-1 | [DEBIAN-CVE-2021-4122](https://patchblox.com/security/data/fix/linux/debian-cve-2021-4122.md) | Aug 24, 2022 |
| Linux | cryptsetup RHEL 8 | 0:2.3.3-4.el8_5.1 | [RHSA-2022:0370](https://patchblox.com/security/data/fix/linux/rhsa-2022-0370.md) | Feb 1, 2022 |
| Linux | cryptsetup Ubuntu 20.04 LTS (focal) | 2:2.2.2-3ubuntu2.4 | [cryptsetup 2:2.2.2-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-cryptsetup-2-2.2.2-3ubuntu2.4.md) | Jan 12, 2022 |
| Linux | cryptsetup Ubuntu 22.04.1 LTS (jammy) | 2:2.4.3-1ubuntu1 | [cryptsetup 2:2.4.3-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-cryptsetup-2-2.4.3-1ubuntu1.md) | Jan 12, 2022 |
| Linux | cryptsetup ol 8 | 0:2.3.3-4.el8_5.1 | [ELSA-2022-0370](https://patchblox.com/security/data/fix/linux/elsa-2022-0370.md) | Feb 2, 2022 |
| Linux | cryptsetup rocky 8 | 0:2.3.3-4.el8_5.1 | [RLSA-2022:0370](https://patchblox.com/security/data/fix/linux/rlsa-2022-0370.md) | Feb 1, 2022 |
| Linux | cryptsetup-bin Ubuntu 20.04 LTS (focal) | 2:2.2.2-3ubuntu2.4 | [cryptsetup-bin 2:2.2.2-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-cryptsetup-bin-2-2.2.2-3ubuntu2.4.md) | Jan 12, 2022 |
| Linux | cryptsetup-bin Ubuntu 22.04.1 LTS (jammy) | 2:2.4.3-1ubuntu1 | [cryptsetup-bin 2:2.4.3-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-cryptsetup-bin-2-2.4.3-1ubuntu1.md) | Jan 12, 2022 |
| Linux | cryptsetup-devel RHEL 8 | 0:2.3.3-4.el8_5.1 | [RHSA-2022:0370](https://patchblox.com/security/data/fix/linux/rhsa-2022-0370.md) | Feb 1, 2022 |
| Linux | cryptsetup-devel almalinux 8 | 2.3.3-4.el8_5.1 | [ALSA-2022:0370](https://patchblox.com/security/data/fix/linux/alsa-2022-0370.md) | Feb 1, 2022 |
| Linux | cryptsetup-devel ol 8 | 0:2.3.3-4.el8_5.1 | [ELSA-2022-0370](https://patchblox.com/security/data/fix/linux/elsa-2022-0370.md) | Feb 2, 2022 |
| Linux | cryptsetup-initramfs Ubuntu 20.04 LTS (focal) | 2:2.2.2-3ubuntu2.4 | [cryptsetup-initramfs 2:2.2.2-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-cryptsetup-initramfs-2-2.2.2-3ubuntu2.4.md) | Jan 12, 2022 |
| Linux | cryptsetup-initramfs Ubuntu 22.04.1 LTS (jammy) | 2:2.4.3-1ubuntu1 | [cryptsetup-initramfs 2:2.4.3-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-cryptsetup-initramfs-2-2.4.3-1ubuntu1.md) | Jan 12, 2022 |
| Linux | cryptsetup-libs RHEL 8 | 0:2.3.3-4.el8_5.1 | [RHSA-2022:0370](https://patchblox.com/security/data/fix/linux/rhsa-2022-0370.md) | Feb 1, 2022 |
| Linux | cryptsetup-libs ol 8 | 0:2.3.3-4.el8_5.1 | [ELSA-2022-0370](https://patchblox.com/security/data/fix/linux/elsa-2022-0370.md) | Feb 2, 2022 |
| Linux | cryptsetup-reencrypt RHEL 8 | 0:2.3.3-4.el8_5.1 | [RHSA-2022:0370](https://patchblox.com/security/data/fix/linux/rhsa-2022-0370.md) | Feb 1, 2022 |
| Linux | cryptsetup-reencrypt ol 8 | 0:2.3.3-4.el8_5.1 | [ELSA-2022-0370](https://patchblox.com/security/data/fix/linux/elsa-2022-0370.md) | Feb 2, 2022 |
| Linux | cryptsetup-run Ubuntu 20.04 LTS (focal) | 2:2.2.2-3ubuntu2.4 | [cryptsetup-run 2:2.2.2-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-cryptsetup-run-2-2.2.2-3ubuntu2.4.md) | Jan 12, 2022 |
| Linux | cryptsetup-run Ubuntu 22.04.1 LTS (jammy) | 2:2.4.3-1ubuntu1 | [cryptsetup-run 2:2.4.3-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-cryptsetup-run-2-2.4.3-1ubuntu1.md) | Jan 12, 2022 |
| Linux | cryptsetup-suspend Ubuntu 22.04.1 LTS (jammy) | 2:2.4.3-1ubuntu1 | [cryptsetup-suspend 2:2.4.3-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-cryptsetup-suspend-2-2.4.3-1ubuntu1.md) | Jan 12, 2022 |
| Linux | integritysetup RHEL 8 | 0:2.3.3-4.el8_5.1 | [RHSA-2022:0370](https://patchblox.com/security/data/fix/linux/rhsa-2022-0370.md) | Feb 1, 2022 |
| Linux | integritysetup ol 8 | 0:2.3.3-4.el8_5.1 | [ELSA-2022-0370](https://patchblox.com/security/data/fix/linux/elsa-2022-0370.md) | Feb 2, 2022 |
| Linux | libcryptsetup12 Ubuntu 20.04 LTS (focal) | 2:2.2.2-3ubuntu2.4 | [libcryptsetup12 2:2.2.2-3ubuntu2.4](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libcryptsetup12-2-2.2.2-3ubuntu2.4.md) | Jan 12, 2022 |
| Linux | libcryptsetup12 Ubuntu 22.04.1 LTS (jammy) | 2:2.4.3-1ubuntu1 | [libcryptsetup12 2:2.4.3-1ubuntu1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libcryptsetup12-2-2.4.3-1ubuntu1.md) | Jan 12, 2022 |
| Linux | veritysetup RHEL 8 | 0:2.3.3-4.el8_5.1 | [RHSA-2022:0370](https://patchblox.com/security/data/fix/linux/rhsa-2022-0370.md) | Feb 1, 2022 |
| Linux | veritysetup ol 8 | 0:2.3.3-4.el8_5.1 | [ELSA-2022-0370](https://patchblox.com/security/data/fix/linux/elsa-2022-0370.md) | Feb 2, 2022 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
