RedHat: RHSA-2020-4650:01 Moderate: cloud-init security, bug fix,
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.
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)
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 8.3 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-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/8/html/8.3_release_notes/
Package List
Red Hat Enterprise Linux AppStream (v. 8):
Source:
cloud-init-19.4-11.el8.src.rpm
noarch:
cloud-init-19.4-11.el8.noarch.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/
Topic
An update for cloud-init is now available for Red Hat Enterprise Linux 8.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 AppStream (v. 8) - noarch
Bugs Fixed
1760394 - [RHEL8] cloudinit/net/sysconfig.py write incorrect config for dhcp-stateless openstack subnets
1761598 - [RHEL8] DHCP Stateful - Openstack DHCPv6 instance get no default gateway and is unable to send IPv6 traffic (Network unreachable errors).
1794664 - [RHEL8] swapon fails with "swapfile has holes" when created on a xfs filesystem by cloud-init
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
1803095 - [RHEL-8.3.0] cloud-init rebase to 19.4
1803928 - [RHEL8.3] Race condition of starting cloud-init and NetworkManager
1810706 - [RFE] Backport IMDSv2 from cloud-init 19.4+ RHEL 8
1822343 - [RHEL8.3] Do not log IMDSv2 token values into cloud-init.log
1833874 - [rhel-8.3]using root user error should cause a non-zero exit code
1834173 - [rhel-8.3]Incorrect ds-identify check in cloud-init-generator
1839662 - [ESXi][RHEL8.3][cloud-init]ERROR log in cloud-init.log after clone VM on ESXi platform
1840648 - [cloud-init][RHEL-8.2.0] /etc/resolv.conf lose config after reboot (initial instance is ok)
1846240 - [cloud-init test] Cloud-init rebase to 19.4 testing in rhel-8.3.0