CVE-2021-3429: Canonical Cloud-Init

Medium severity, CVSS 5.5. EPSS: 0.2% chance of exploitation in the next 30 days.

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.

Affected products

  • Canonical Cloud-Init: before 21.2 (fixed in 21.2)

Published 2023-04-19. Last modified 2026-06-17.