-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

====================================================================                   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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBX3OhN9zjgjWX9erEAQhbURAAoNVTaadDD796M5CfkDfE2/7diGhTeVxe
Enq32Xtu1RMU92/Ve4u/G/S8I+B1Qn6hOqyoEBPgK4vM5nkD8yZN0qi8uvSDfmey
iKOP6Ikxx83hEhWJ8fqcOtKrWTdTTowlA+5lMW4wz3d1WcfNm8zs61P5t9OR9S5a
tk+lj6mZjLlC9f2HSQBElDfIvPB3GEf7MeEy297iaZ1CsQ+HKVaynKPabOFKB4JT
umI+NEuLvujkz88kL7RDIb1lilElK+Q5wWWvgy8sTbpxFUhk0/JE5gRZSqVjR3BI
7bMO4fn2gKczSmFgWr/C5Lk+OzUN2uPyXc5bqzxj1P4Y8E0OLW1tYnvBuAry5jzv
0GUPVLZT00uUplsigwsaHa2ICIWFpf4IMhHKfOA2L2REXQm4cW0s992fOAGQZClB
HcNzLZ5+CH/ibCWOJhpFEtVYwOSV/HmkkyAZIVHIcMAu1SkbsCznNqF0i8iz/Xi6
s2tsJ8ONDt9rKwyOZXX6+u34AofXEauo4YxrG0X084x6it6sHfWZ43NC2lbuoh2g
LZIDMbYY38c0pjtH87o78SPydN2mDvAA2bR0SYkCqQ7LfmwEzf+/zdo2QuMFdmsb
0QlK6xDbWIhWy50U717CCOzvSJb01q3G9Rehfu4XTj2BdLfL2M9fhsz41JUthlmz
ZpbmdScV2oo=XOml
-----END PGP SIGNATURE-----

--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce

RedHat: RHSA-2020-3898:01 Moderate: cloud-init security, bug fix,

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

Summary

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.



Summary


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

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

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/


Severity
Advisory ID: RHSA-2020:3898-01
Product: Red Hat Enterprise Linux
Advisory URL: https://access.redhat.com/errata/RHSA-2020:3898
Issued Date: : 2020-09-29
CVE Names: CVE-2018-10896 CVE-2020-8631 CVE-2020-8632

Topic

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 impactof Moderate. A Common Vulnerability Scoring System (CVSS) base score, whichgives a detailed severity rating, is available for each vulnerability fromthe CVE link(s) in the References section.


Topic


 

Relevant Releases Architectures

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


Bugs Fixed

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


Related News