Moderate: cryptsetup security update

cryptsetup-devel Updated 02 Oct 2025

Summary

01/02/2022
N/A
Yes i
Unrated
Not published

ALSA-2022:0370: Moderate: cryptsetup security update. Affects cryptsetup-devel versions < 2.3.3-4.el8_5.1. Fixed in 2.3.3-4.el8_5.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The cryptsetup package is a utility used for setting up disk encryption using the dm-crypt kernel module. It provides a secure way to encrypt data on storage devices. The package is commonly used in Linux distributions to protect sensitive information stored on disks.

Vulnerability Detail

The vulnerability identified as CVE-2021-4122 affects the cryptsetup package. It involves the encryption process via header rewrite. An attacker could exploit this vulnerability to disable encryption and potentially gain unauthorized access to encrypted data. The impact of this vulnerability can be significant, as it undermines the security provided by the cryptsetup utility.

How To Fix

Minimum fixed version

2.3.3-4.el8_5.1

This is the first release that contains the fix.

sudo dnf update cryptsetup-devel

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is essential to apply the recommended fix by updating the cryptsetup package.

Conclusion

The cryptsetup package has been found to have a moderate security vulnerability (CVE-2021-4122) that can potentially compromise the encryption of data on storage devices. It is crucial to update the package to the recommended version to mitigate the vulnerability and ensure the security of encrypted data. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for cryptsetup-devel →

Share this vulnerability

FAQ

Cryptsetup is a utility used for disk encryption in Linux systems. It provides a secure way to encrypt data on storage devices.

The vulnerability allows an attacker to disable encryption via header rewrite, potentially compromising the security of encrypted data.

To fix this vulnerability, update the cryptsetup package to version 2.3.3-4.el8_5.1 or later.

No, there is no known workaround. Updating the cryptsetup package is the recommended solution.

You can find more information about this vulnerability in the CVE page listed in the References section of the advisory.

Related vulnerabilities

Recent vulnerabilities recorded for cryptsetup-devel.

How To Fix

Minimum fixed version

2.3.3-4.el8_5.1

This is the first release that contains the fix.

sudo dnf update cryptsetup-devel

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback