Debian DLA-2601-1 : cloud-init security update

medium Nessus Plugin ID 147928

Synopsis

The remote Debian host is missing a security update.

Description

cloud-init has the ability to generate and set a randomized password for system users. This functionality is enabled at runtime by passing cloud-config data such as :

chpasswd: list: | user1:RANDOM

When used this way, cloud-init logs the raw, unhashed password to a world-readable local file.

For Debian 9 stretch, this problem has been fixed in version 0.7.9-2+deb9u1.

We recommend that you upgrade your cloud-init packages.

For the detailed security status of cloud-init please refer to its security tracker page at:
https://security-tracker.debian.org/tracker/cloud-init

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected cloud-init package.

See Also

https://lists.debian.org/debian-lts-announce/2021/03/msg00025.html

https://packages.debian.org/source/stretch/cloud-init

https://security-tracker.debian.org/tracker/source-package/cloud-init

Plugin Details

Severity: Medium

ID: 147928

File Name: debian_DLA-2601.nasl

Version: 1.4

Type: local

Agent: unix

Published: 3/22/2021

Updated: 1/12/2024

Supported Sensors: 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.6

Temporal Score: 3.4

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

CVSS Score Source: CVE-2021-3429

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

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

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:cloud-init, cpe:/o:debian:debian_linux:9.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 3/19/2021

Vulnerability Publication Date: 4/19/2023

Reference Information

CVE: CVE-2021-3429