vulnerability

Red Hat: CVE-2021-3429: CVE-2021-3429 cloud-init: randomly generated passwords logged in clear-text to world-readable file (Multiple Advisories)

Severity
5
CVSS
(AV:L/AC:L/Au:S/C:C/I:N/A:N)
Published
Aug 10, 2021
Added
Aug 12, 2021
Modified
Mar 27, 2026

Description

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.

Solution

redhat-upgrade-cloud-init
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.