CentOS 7 : cloud-init (CESA-2020:3898)

high Nessus Plugin ID 141635

Synopsis

The remote CentOS Linux host is missing one or more security updates.

Description

The remote CentOS Linux 7 host has a package installed that is affected by multiple vulnerabilities as referenced in the CESA-2020:3898 advisory.

- cloud-init: default configuration disabled deletion of SSH host keys (CVE-2018-10896)

- cloud-init: Use of random.choice when generating random password (CVE-2020-8631)

- cloud-init: Too short random password length in cc_set_password in config/cc_set_passwords.py (CVE-2020-8632)

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 cloud-init package.

See Also

http://www.nessus.org/u?c68172ec

https://cwe.mitre.org/data/definitions/321.html

https://cwe.mitre.org/data/definitions/330.html

Plugin Details

Severity: High

ID: 141635

File Name: centos_RHSA-2020-3898.nasl

Version: 1.5

Type: local

Agent: unix

Published: 10/20/2020

Updated: 8/25/2022

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

CVSS v2

Risk Factor: Low

Base Score: 3.6

Temporal Score: 2.7

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

CVSS Score Source: CVE-2018-10896

CVSS v3

Risk Factor: High

Base Score: 7.1

Temporal Score: 6.2

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

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:cloud-init, cpe:/o:centos:centos:7

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/CentOS/release, Host/CentOS/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 10/20/2020

Vulnerability Publication Date: 8/1/2018

Reference Information

CVE: CVE-2018-10896, CVE-2020-8631, CVE-2020-8632

CWE: 321, 330

RHSA: 2020:3898