Skip to navigation Skip to main content

Utilities

  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
Red Hat Customer Portal
  • Subscriptions
  • Downloads
  • Red Hat Console
  • Get Support
  • Products

    Top Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Products

    Downloads and Containers

    • Downloads
    • Packages
    • Containers

    Top Resources

    • Documentation
    • Product Life Cycles
    • Product Compliance
    • Errata
  • Knowledge

    Red Hat Knowledge Center

    • Knowledgebase Solutions
    • Knowledgebase Articles
    • Customer Portal Labs
    • Errata

    Top Product Docs

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    All Product Docs

    Training and Certification

    • About
    • Course Index
    • Certification Index
    • Skill Assessment
  • Security

    Red Hat Product Security Center

    • Security Updates
    • Security Advisories
    • Red Hat CVE Database
    • Errata

    References

    • Security Bulletins
    • Security Measurement
    • Severity Ratings
    • Security Data

    Top Resources

    • Security Labs
    • Backporting Policies
    • Security Blog
  • Support

    Red Hat Support

    • Support Cases
    • Troubleshoot
    • Get Support
    • Contact Red Hat Support

    Red Hat Community Support

    • Customer Portal Community
    • Community Discussions
    • Red Hat Accelerator Program

    Top Resources

    • Product Life Cycles
    • Customer Portal Labs
    • Red Hat JBoss Supported Configurations
    • Red Hat Insights
Or troubleshoot an issue.

Select Your Language

  • English
  • Français
  • 한국어
  • 日本語
  • 中文 (中国)

Infrastructure and Management

  • Red Hat Enterprise Linux
  • Red Hat Satellite
  • Red Hat Subscription Management
  • Red Hat Insights
  • Red Hat Ansible Automation Platform

Cloud Computing

  • Red Hat OpenShift
  • Red Hat OpenStack Platform
  • Red Hat OpenShift
  • Red Hat OpenShift AI
  • Red Hat OpenShift Dedicated
  • Red Hat Advanced Cluster Security for Kubernetes
  • Red Hat Advanced Cluster Management for Kubernetes
  • Red Hat Quay
  • Red Hat OpenShift Dev Spaces
  • Red Hat OpenShift Service on AWS

Storage

  • Red Hat Gluster Storage
  • Red Hat Hyperconverged Infrastructure
  • Red Hat Ceph Storage
  • Red Hat OpenShift Data Foundation

Runtimes

  • Red Hat Runtimes
  • Red Hat JBoss Enterprise Application Platform
  • Red Hat Data Grid
  • Red Hat JBoss Web Server
  • Red Hat build of Keycloak
  • Red Hat support for Spring Boot
  • Red Hat build of Node.js
  • Red Hat build of Quarkus

Integration and Automation

  • Red Hat Application Foundations
  • Red Hat Fuse
  • Red Hat AMQ
  • Red Hat 3scale API Management
All Products
Red Hat Product Errata RHSA-2020:3898 - Security Advisory
Issued:
2020-09-29
Updated:
2020-09-29

RHSA-2020:3898 - Security Advisory

  • Overview
  • Updated Packages

Synopsis

Moderate: cloud-init security, bug fix, and enhancement update

Type/Severity

Security Advisory: Moderate

Red Hat Insights patch analysis

Identify and remediate systems affected by this advisory.

View affected systems

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 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.

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.

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

Affected Products

  • Red Hat Enterprise Linux Server 7 x86_64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support 7 x86_64
  • Red Hat Enterprise Linux for IBM z Systems 7 s390x
  • Red Hat Enterprise Linux for Power, big endian 7 ppc64
  • Red Hat Enterprise Linux for Power, little endian 7 ppc64le
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 7 s390x
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian 7 ppc64
  • Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian 7 ppc64le

Fixes

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

CVEs

  • CVE-2018-10896
  • CVE-2020-8631
  • CVE-2020-8632

References

  • 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
Note: More recent versions of these packages may be available. Click a package name for more details.

Red Hat Enterprise Linux Server 7

SRPM
cloud-init-19.4-7.el7.src.rpm SHA-256: f1076940d5a96705f3ba90111e424980377c5d6d331069600bc392d22c02ab21
x86_64
cloud-init-19.4-7.el7.x86_64.rpm SHA-256: 413c3662c4532237979c888707d2acce4289fd4990fd3ea73d5d40fb6ebfd52b

Red Hat Enterprise Linux Server - Extended Life Cycle Support 7

SRPM
cloud-init-19.4-7.el7.src.rpm SHA-256: f1076940d5a96705f3ba90111e424980377c5d6d331069600bc392d22c02ab21
x86_64
cloud-init-19.4-7.el7.x86_64.rpm SHA-256: 413c3662c4532237979c888707d2acce4289fd4990fd3ea73d5d40fb6ebfd52b

Red Hat Enterprise Linux for IBM z Systems 7

SRPM
cloud-init-19.4-7.el7.src.rpm SHA-256: f1076940d5a96705f3ba90111e424980377c5d6d331069600bc392d22c02ab21
s390x
cloud-init-19.4-7.el7.s390x.rpm SHA-256: 32324cc4f003a388db31f2688858b420af8d4e06b3fb94a175f9518466160d75

Red Hat Enterprise Linux for Power, big endian 7

SRPM
cloud-init-19.4-7.el7.src.rpm SHA-256: f1076940d5a96705f3ba90111e424980377c5d6d331069600bc392d22c02ab21
ppc64
cloud-init-19.4-7.el7.ppc64.rpm SHA-256: 33b8134bee6585c7eb84b147cf16ec5519b584f3ee1a167050c5de650c478998

Red Hat Enterprise Linux for Power, little endian 7

SRPM
cloud-init-19.4-7.el7.src.rpm SHA-256: f1076940d5a96705f3ba90111e424980377c5d6d331069600bc392d22c02ab21
ppc64le
cloud-init-19.4-7.el7.ppc64le.rpm SHA-256: d08d134bdefc6b453492a315d1cbeda1fcf01c5cb227e71a0a86acfa261e28ff

Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 7

SRPM
cloud-init-19.4-7.el7.src.rpm SHA-256: f1076940d5a96705f3ba90111e424980377c5d6d331069600bc392d22c02ab21
s390x
cloud-init-19.4-7.el7.s390x.rpm SHA-256: 32324cc4f003a388db31f2688858b420af8d4e06b3fb94a175f9518466160d75

Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, big endian 7

SRPM
cloud-init-19.4-7.el7.src.rpm SHA-256: f1076940d5a96705f3ba90111e424980377c5d6d331069600bc392d22c02ab21
ppc64
cloud-init-19.4-7.el7.ppc64.rpm SHA-256: 33b8134bee6585c7eb84b147cf16ec5519b584f3ee1a167050c5de650c478998

Red Hat Enterprise Linux Server - Extended Life Cycle Support for IBM Power, little endian 7

SRPM
cloud-init-19.4-7.el7.src.rpm SHA-256: f1076940d5a96705f3ba90111e424980377c5d6d331069600bc392d22c02ab21
ppc64le
cloud-init-19.4-7.el7.ppc64le.rpm SHA-256: d08d134bdefc6b453492a315d1cbeda1fcf01c5cb227e71a0a86acfa261e28ff

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

Red Hat LinkedIn YouTube Facebook X, formerly Twitter

Quick Links

  • Downloads
  • Subscriptions
  • Support Cases
  • Customer Service
  • Product Documentation

Help

  • Contact Us
  • Customer Portal FAQ
  • Log-in Assistance

Site Info

  • Trust Red Hat
  • Browser Support Policy
  • Accessibility
  • Awards and Recognition
  • Colophon

Related Sites

  • redhat.com
  • developers.redhat.com
  • connect.redhat.com
  • cloud.redhat.com

Red Hat legal and privacy links

  • About Red Hat
  • Jobs
  • Events
  • Locations
  • Contact Red Hat
  • Red Hat Blog
  • Inclusion at Red Hat
  • Cool Stuff Store
  • Red Hat Summit
© 2025 Red Hat

Red Hat legal and privacy links

  • Privacy statement
  • Terms of use
  • All policies and guidelines
  • Digital accessibility