Debian DSA-5070-1 : cryptsetup - security update

medium Nessus Plugin ID 157886

Synopsis

The remote Debian host is missing a security-related update.

Description

The remote Debian 11 host has packages installed that are affected by a vulnerability as referenced in the dsa-5070 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

Upgrade the cryptsetup packages.

For the stable distribution (bullseye), this problem has been fixed in in version 2

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003686

https://security-tracker.debian.org/tracker/source-package/cryptsetup

https://www.debian.org/security/2022/dsa-5070

https://security-tracker.debian.org/tracker/CVE-2021-4122

https://packages.debian.org/source/buster/cryptsetup

https://packages.debian.org/source/bullseye/cryptsetup

Plugin Details

Severity: Medium

ID: 157886

File Name: debian_DSA-5070.nasl

Version: 1.5

Type: local

Agent: unix

Published: 2/11/2022

Updated: 3/21/2023

Supported Sensors: Agentless Assessment, Frictionless Assessment Agent, Nessus Agent, 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:debian:debian_linux:11.0, p-cpe:/a:debian:debian_linux:libcryptsetup12-udeb, p-cpe:/a:debian:debian_linux:cryptsetup-run, p-cpe:/a:debian:debian_linux:cryptsetup-bin, p-cpe:/a:debian:debian_linux:libcryptsetup12, p-cpe:/a:debian:debian_linux:libcryptsetup-dev, p-cpe:/a:debian:debian_linux:cryptsetup, p-cpe:/a:debian:debian_linux:cryptsetup-initramfs, p-cpe:/a:debian:debian_linux:cryptsetup-udeb

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

Exploit Ease: No known exploits are available

Patch Publication Date: 2/10/2022

Vulnerability Publication Date: 2/1/2022

Reference Information

CVE: CVE-2021-4122