Vulnerability database / CVE-2021-3429
CVE-2021-3429
MEDIUM 5.5 CVSS 3.1 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.
Published 19 Apr 2023
Last modified 17 Jun 2026 Assigned by security@ubuntu.com NVD status Modified Weakness
CWE-532 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
security@ubuntu.com (Secondary)
CVSS 3.1
MEDIUM 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD
nvd@nist.gov (Primary)
CVSS 3.1
MEDIUM 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NNVD
134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
CVSS 3.1
MEDIUM 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
canonical
cloud-initcpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*
< 21.2
21.2
References
History
25 Nov 2026 20:36 UTC · NVD: first stored (published 19 Apr 2023)