MediumFix available
cryptsetup — security advisory
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.
- Products
- cryptsetup
- Affected versions
- Not specified
- Fixed versions
- 2:2.4.3-1
- CVEs
- CVE-2021-4122
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 16:36 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2021-4122
cryptsetup
Fixed versions: 2:2.4.3-1
cryptsetup
Fixed versions: 2:2.4.3-1
cryptsetup
Fixed versions: 2:2.4.3-1
Complete source record
{
"id": "00299d23f5be62d835c50a445ea890937a6e06510fa44ffe6d27aeb1bd935b6a",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-4122",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-4122",
"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.",
"evidence": "osv:DEBIAN-CVE-2021-4122",
"products": [
{
"name": {
"value": "cryptsetup",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:2.4.3-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "cryptsetup",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:2.4.3-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "cryptsetup",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2:2.4.3-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2021-4122",
"aliases": [
"DEBIAN-CVE-2021-4122"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:2.4.3-1"
}
]
}
],
"package": {
"name": "cryptsetup",
"purl": "pkg:deb/debian/cryptsetup?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4122.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:2.4.3-1"
}
]
}
],
"package": {
"name": "cryptsetup",
"purl": "pkg:deb/debian/cryptsetup?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4122.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2:2.4.3-1"
}
]
}
],
"package": {
"name": "cryptsetup",
"purl": "pkg:deb/debian/cryptsetup?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-4122.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T09:47:34.766218542Z",
"provider": "osv",
"upstream": [
"CVE-2021-4122"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-4122"
]
},
"related_cves": [
{
"value": "CVE-2021-4122",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 327761,
"published_at": "2022-08-24T16:15:09.427+00:00"
}