What’s Vulnerable › Vulnerabilities

CVE-2021-3429: sensitive data exposure in cloud-init logs

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.

Affected products

How to fix

Upgrade to a fixed version: Canonical Ltd. cloud-init 21.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-3429 or the next vulnerability affects your stack