UBUNTU-CVE-2021-4122

Source
https://ubuntu.com/security/CVE-2021-4122
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-4122.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-4122
Related
Published
2022-01-13T00:00:00Z
Modified
2022-01-13T00:00:00Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:P/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
  • 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

Ubuntu:20.04:LTS / cryptsetup

Package

Name
cryptsetup
Purl
pkg:deb/ubuntu/cryptsetup?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:2.2.2-3ubuntu2.4

Affected versions

2:2.*

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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2:2.2.2-3ubuntu2.4",
            "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-bin-dbgsym"
        },
        {
            "binary_version": "2:2.2.2-3ubuntu2.4",
            "binary_name": "cryptsetup-dbgsym"
        },
        {
            "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": "cryptsetup-udeb"
        },
        {
            "binary_version": "2:2.2.2-3ubuntu2.4",
            "binary_name": "libcryptsetup-dev"
        },
        {
            "binary_version": "2:2.2.2-3ubuntu2.4",
            "binary_name": "libcryptsetup12"
        },
        {
            "binary_version": "2:2.2.2-3ubuntu2.4",
            "binary_name": "libcryptsetup12-dbgsym"
        },
        {
            "binary_version": "2:2.2.2-3ubuntu2.4",
            "binary_name": "libcryptsetup12-udeb"
        }
    ]
}

Ubuntu:22.04:LTS / cryptsetup

Package

Name
cryptsetup
Purl
pkg:deb/ubuntu/cryptsetup?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2:2.4.3-1ubuntu1

Affected versions

2:2.*

2:2.3.6-0ubuntu1
2:2.4.2-1ubuntu3
2:2.4.2-1ubuntu4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2:2.4.3-1ubuntu1",
            "binary_name": "cryptsetup"
        },
        {
            "binary_version": "2:2.4.3-1ubuntu1",
            "binary_name": "cryptsetup-bin"
        },
        {
            "binary_version": "2:2.4.3-1ubuntu1",
            "binary_name": "cryptsetup-bin-dbgsym"
        },
        {
            "binary_version": "2:2.4.3-1ubuntu1",
            "binary_name": "cryptsetup-dbgsym"
        },
        {
            "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": "cryptsetup-suspend-dbgsym"
        },
        {
            "binary_version": "2:2.4.3-1ubuntu1",
            "binary_name": "libcryptsetup-dev"
        },
        {
            "binary_version": "2:2.4.3-1ubuntu1",
            "binary_name": "libcryptsetup12"
        },
        {
            "binary_version": "2:2.4.3-1ubuntu1",
            "binary_name": "libcryptsetup12-dbgsym"
        }
    ]
}