Skip to content
OpenAdvisories
Medium RLSA-2021:3081 1 CVE

Moderate: cloud-init security update

Published Aug 10, 2021 · Updated Feb 5, 2026

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: randomly generated passwords logged in clear-text to world-readable file (CVE-2021-3429)

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.

Fixed packages 1

ReleasePackageFixed in
Rocky Linux · 8 cloud-init 0:20.3-10.el8_4.5

Vulnerabilities 1

  • Medium 5.5

    sensitive data exposure in cloud-init logs

    When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user.

References

  • report
    https://bugzilla.redhat.com/show_bug.cgi?id=1940967