CVE-2021-3429: Canonical Cloud-Init

Medium severity, CVSS 5.5. EPSS: 0.2% probability of exploitation activity 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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Canonical Cloud-Init, before 21.2: fixed in 21.2

Affected products

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