Red Hat 9062 Published by

A cloud-init security, bug fix, and enhancement update has been released for Red Hat Enterprise Linux 7.



RHSA-2020:3898-01: Moderate: cloud-init security, bug fix, and enhancement update



=====================================================================
Red Hat Security Advisory

Synopsis: Moderate: cloud-init security, bug fix, and enhancement update
Advisory ID: RHSA-2020:3898-01
Product: Red Hat Enterprise Linux
Advisory URL:   https://access.redhat.com/errata/RHSA-2020:3898
Issue date: 2020-09-29
CVE Names: CVE-2018-10896 CVE-2020-8631 CVE-2020-8632
=====================================================================

1. Summary:

An update for cloud-init is now available for Red Hat Enterprise Linux 7.

Red Hat Product Security has rated this update as having a security impact
of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which
gives a detailed severity rating, is available for each vulnerability from
the CVE link(s) in the References section.

2. Relevant releases/architectures:

Red Hat Enterprise Linux Server (v. 7) - ppc64, ppc64le, s390x, x86_64

3. Description:

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.

4. Solution:

For details on how to apply this update, which includes the changes
described in this advisory, refer to:

  https://access.redhat.com/articles/11258

5. Bugs fixed (  https://bugzilla.redhat.com/):

1574338 - CVE-2018-10896 cloud-init: default configuration disabled deletion of SSH host keys [rhel-7]
1598831 - CVE-2018-10896 cloud-init: default configuration disabled deletion of SSH host keys
1748015 - [cloud-init][RHEL7] /etc/resolv.conf lose config after reboot (initial instance is ok)
1772505 - [RHEL7] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init
1793652 - Support for AWS IMDS v2 (available in cloud-init 19.4)
1798728 - CVE-2020-8632 cloud-init: Too short random password length in cc_set_password in config/cc_set_passwords.py
1798731 - CVE-2020-8631 cloud-init: Use of random.choice when generating random password
1803094 - [RHEL-7.9] cloud-init rebase to 19.4
1821679 - [cloud-init test] Cloud-init rebase to 19.4 testing in rhel-7.9
1821999 - [RHEL7.9] Do not log IMDSv2 token values into cloud-init.log

6. Package List:

Red Hat Enterprise Linux Server (v. 7):

Source:
cloud-init-19.4-7.el7.src.rpm

ppc64:
cloud-init-19.4-7.el7.ppc64.rpm

ppc64le:
cloud-init-19.4-7.el7.ppc64le.rpm

s390x:
cloud-init-19.4-7.el7.s390x.rpm

x86_64:
cloud-init-19.4-7.el7.x86_64.rpm

These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
  https://access.redhat.com/security/team/key/

7. References:

  https://access.redhat.com/security/cve/CVE-2018-10896
  https://access.redhat.com/security/cve/CVE-2020-8631
  https://access.redhat.com/security/cve/CVE-2020-8632
  https://access.redhat.com/security/updates/classification/#moderate
  https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/7.9_release_notes/index

8. Contact:

The Red Hat security contact is . More contact
details at   https://access.redhat.com/security/team/contact/

Copyright 2020 Red Hat, Inc.