CVE-2021-4122

Source
https://cve.org/CVERecord?id=CVE-2021-4122
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4122.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-4122
Downstream
Related
Published
2022-08-24T16:15:09.427Z
Modified
2026-04-10T04:38:20.897442Z
Severity
  • 4.3 (Medium) CVSS_V3 - CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / gitlab.com/cryptsetup/cryptsetup

Affected ranges

Type
GIT
Repo
https://gitlab.com/cryptsetup/cryptsetup
Events
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.3.7"
        },
        {
            "introduced": "2.4.0"
        },
        {
            "fixed": "2.4.3"
        }
    ]
}

Affected versions

Other
v1_4_2
v1_5_0
v1_5_1
v1_6_0
v1_6_1
v1_6_2
v1_6_3
v1_6_4
v1_6_5
v1_6_6
v1_6_7
v1_6_8
v1_7_0
v2.*
v2.0.0
v2.0.0-rc0
v2.0.0-rc1
v2.0.1
v2.0.2
v2.0.3
v2.0.4
v2.0.5
v2.1.0
v2.2.0
v2.2.0-rc0
v2.2.0-rc1
v2.2.1
v2.2.2
v2.3.0
v2.3.0-rc0
v2.3.1
v2.3.2
v2.3.3
v2.3.4
v2.3.5
v2.3.5-rc0
v2.3.6
v2.4.0
v2.4.1
v2.4.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4122.json"