{"id":"CVE-2021-3429","details":"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.","modified":"2026-04-16T00:08:07.500254306Z","published":"2023-04-19T22:15:10.137Z","related":["SUSE-FU-2023:3283-1","SUSE-SU-2023:2164-1","openSUSE-SU-2024:13053-1"],"references":[{"type":"FIX","url":"https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/canonical/cloud-init","events":[{"introduced":"0"},{"fixed":"13877549527812959f59e4add685bc42d350edd8"},{"fixed":"b794d426b9ab43ea9d6371477466070d86e10668"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"21.2"}],"cpe":"cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*","source":["CPE_FIELD","REFERENCES"]}}],"versions":["0.5.0","0.5.1","0.5.10","0.5.11","0.5.12","0.5.13","0.5.14","0.5.15","0.5.16pre1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.8","0.6.0","0.6.1","0.6.2","0.6.3","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.7.6","0.7.7","0.7.8","0.7.9","17.1","17.2","18.1","18.2","18.3","18.4","18.5","19.1","19.2","19.3","19.4","20.1","20.2","20.3","20.4","21.1"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-3429.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}