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

medium Nessus Plugin ID 133875

Synopsis

The remote Debian host is missing a security update.

Description

CVE-2020-8631

In cloud-init, relies on Mersenne Twister for a random password, which makes it easier for attackers to predict passwords, because rand_str in cloudinit/util.py calls the random.choice function.

CVE-2020-8632

In cloud-init, rand_user_password in cloudinit/config/cc_set_passwords.py has a small default pwlen value, which makes it easier for attackers to guess passwords.

For Debian 8 'Jessie', these problems have been fixed in version 0.7.6~bzr976-2+deb8u1.

We recommend that you upgrade your cloud-init packages.

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/2020/02/msg00021.html

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

Plugin Details

Severity: Medium

ID: 133875

File Name: debian_DLA-2113.nasl

Version: 1.5

Type: local

Agent: unix

Published: 2/24/2020

Updated: 3/26/2024

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Low

Base Score: 2.1

Temporal Score: 1.6

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

CVSS Score Source: CVE-2020-8632

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:8.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: 2/21/2020

Vulnerability Publication Date: 2/5/2020

Reference Information

CVE: CVE-2020-8631, CVE-2020-8632