CVE-2021-3429 MEDIUM

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

Vendor Canonical Ltd.
Product cloud-init
Weakness CWE-532 · Sensitive info in logs
Published April 19, 2023
Last update February 5, 2025

CVSS base score

5.5/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity None

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 19, 2023 CVE published
February 5, 2025 Record updated