Ubuntu 20.04 LTS : cryptsetup vulnerability (USN-5286-1)

medium Nessus Plugin ID 158072

Synopsis

The remote Ubuntu host is missing a security update.

Description

The remote Ubuntu 20.04 LTS / 21.10 host has packages installed that are affected by a vulnerability as referenced in the USN-5286-1 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.
(CVE-2021-4122)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-5286-1

Plugin Details

Severity: Medium

ID: 158072

File Name: ubuntu_USN-5286-1.nasl

Version: 1.8

Type: local

Agent: unix

Published: 2/15/2022

Updated: 10/20/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4.9

Temporal Score: 3.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:N/I:C/A:N

CVSS Score Source: CVE-2021-4122

CVSS v3

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.8

Vector: CVSS:3.0/AV:P/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:canonical:ubuntu_linux:20.04:-:lts, p-cpe:/a:canonical:ubuntu_linux:cryptsetup, p-cpe:/a:canonical:ubuntu_linux:cryptsetup-bin, p-cpe:/a:canonical:ubuntu_linux:cryptsetup-initramfs, p-cpe:/a:canonical:ubuntu_linux:cryptsetup-run, p-cpe:/a:canonical:ubuntu_linux:libcryptsetup-dev, p-cpe:/a:canonical:ubuntu_linux:libcryptsetup12

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 2/15/2022

Vulnerability Publication Date: 2/1/2022

Reference Information

CVE: CVE-2021-4122

USN: 5286-1