{"id":"CVE-2021-4122","aliases":["CVE-2021-4122"],"related":[],"kind":"vulnerability","state":"published","title":"It was found that a specially crafted LUKS header could trick cryptsetup into disabling encryption during the recovery of the device.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se ha detectado que un encabezado LUKS especialmente diseñada podía engañar a cryptsetup para que deshabilitara el cifrado durante la recuperación del dispositivo. Un atacante con acceso físico al medio, como un disco flash, podría usar este fallo para forzar a un usuario a deshabilitar permanentemente la capa de cifrado de ese medio.","source":"nvd"}],"published":"2022-08-24T15:08:58.000Z","modified":"2026-10-14T11:16:54.753Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-345"],"affected":[{"ranges":[{"version":"Fixed in cryptsetup 2.4.3, cryptsetup 2.3.7","status":"affected"}],"product":"cryptsetup","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.3.7"},{"status":"affected","introduced":"2.4.0","fixed":"2.4.3"}],"vendor":"cryptsetup_project","product":"cryptsetup","cpe":"cpe:2.3:a:cryptsetup_project:cryptsetup:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2031859","tags":["permissions-required","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://mirrors.edge.kernel.org/pub/linux/utils/cryptsetup/v2.4/v2.4.3-ReleaseNotes","tags":["release-notes","vendor-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.com/cryptsetup/cryptsetup/-/commit/0113ac2d889c5322659ad0596d4cfc6da53e356c","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2032401","tags":["issue-tracking","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-4122","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-4122","url":"https://www.cve.org/CVERecord?id=CVE-2021-4122","licence":"CVE Terms of Use","modified":"2026-10-14T10:04:04.609Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-4122","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-4122","licence":"Public domain","modified":"2026-10-14T11:16:54.753Z"}],"updatedAt":"2026-11-25T22:58:07.781Z","epss":{"score":0.00319,"percentile":0.26897,"date":"2026-12-01T12:00:22.000Z"}}