RHEL 7 : cloud-init (RHSA-2020:3898)

high Nessus Plugin ID 141025

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

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

The cloud-init packages provide a set of init scripts for cloud instances. Cloud instances need special scripts to run during initialization to retrieve and install SSH keys, and to let the user run various scripts.

The following packages have been upgraded to a later upstream version: cloud-init (19.4). (BZ#1803094)

Security Fix(es):

* 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)

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

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the Red Hat Enterprise Linux 7.9 Release Notes linked from the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for these issues 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?db028c91

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

https://access.redhat.com/security/updates/classification/#moderate

https://access.redhat.com/errata/RHSA-2020:3898

https://bugzilla.redhat.com/show_bug.cgi?id=1574338

https://bugzilla.redhat.com/show_bug.cgi?id=1598831

https://bugzilla.redhat.com/show_bug.cgi?id=1748015

https://bugzilla.redhat.com/show_bug.cgi?id=1772505

https://bugzilla.redhat.com/show_bug.cgi?id=1793652

https://bugzilla.redhat.com/show_bug.cgi?id=1798728

https://bugzilla.redhat.com/show_bug.cgi?id=1798731

https://bugzilla.redhat.com/show_bug.cgi?id=1803094

https://bugzilla.redhat.com/show_bug.cgi?id=1821679

https://bugzilla.redhat.com/show_bug.cgi?id=1821999

Plugin Details

Severity: High

ID: 141025

File Name: redhat-RHSA-2020-3898.nasl

Version: 1.9

Type: local

Agent: unix

Published: 9/29/2020

Updated: 11/7/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.2

Vendor

Vendor Severity: Moderate

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:redhat:enterprise_linux:cloud-init, cpe:/o:redhat:enterprise_linux:7

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

Exploit Ease: No known exploits are available

Patch Publication Date: 9/29/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