ubuntu-cve-2021-4122
Vulnerability from osv_ubuntu
Published
2022-01-13 00:00
Modified
2026-04-22 07:39
Summary
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.
Severity
5.9 (Medium)
4.3 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "cryptsetup",
"binary_version": "2:2.2.2-3ubuntu2.4"
},
{
"binary_name": "cryptsetup-bin",
"binary_version": "2:2.2.2-3ubuntu2.4"
},
{
"binary_name": "cryptsetup-initramfs",
"binary_version": "2:2.2.2-3ubuntu2.4"
},
{
"binary_name": "cryptsetup-run",
"binary_version": "2:2.2.2-3ubuntu2.4"
},
{
"binary_name": "libcryptsetup12",
"binary_version": "2:2.2.2-3ubuntu2.4"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "cryptsetup",
"purl": "pkg:deb/ubuntu/cryptsetup@2:2.2.2-3ubuntu2.4?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:2.2.2-3ubuntu2.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:2.2.0-3ubuntu1",
"2:2.2.1-1ubuntu1",
"2:2.2.2-1ubuntu1",
"2:2.2.2-2ubuntu1",
"2:2.2.2-3ubuntu1",
"2:2.2.2-3ubuntu2",
"2:2.2.2-3ubuntu2.2",
"2:2.2.2-3ubuntu2.3"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "cryptsetup",
"binary_version": "2:2.4.3-1ubuntu1"
},
{
"binary_name": "cryptsetup-bin",
"binary_version": "2:2.4.3-1ubuntu1"
},
{
"binary_name": "cryptsetup-initramfs",
"binary_version": "2:2.4.3-1ubuntu1"
},
{
"binary_name": "cryptsetup-run",
"binary_version": "2:2.4.3-1ubuntu1"
},
{
"binary_name": "cryptsetup-suspend",
"binary_version": "2:2.4.3-1ubuntu1"
},
{
"binary_name": "libcryptsetup12",
"binary_version": "2:2.4.3-1ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "cryptsetup",
"purl": "pkg:deb/ubuntu/cryptsetup@2:2.4.3-1ubuntu1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:2.4.3-1ubuntu1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:2.3.6-0ubuntu1",
"2:2.4.2-1ubuntu3",
"2:2.4.2-1ubuntu4"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2021-4122",
"modified": "2026-04-22T07:39:51Z",
"published": "2022-01-13T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-4122"
},
{
"type": "REPORT",
"url": "https://www.openwall.com/lists/oss-security/2022/01/13/2"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5286-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-4122"
}
],
"related": [
"USN-5286-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2021-4122"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…