Security mailing lists by PureSourceCode

CVE-2021-3429

MEDIUM 5.5CVSS 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
NVDJSON

Scores

SourceScored byVersionScoreVector / 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:N
NVD 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:N
NVD 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD canonical cloud-init
cpe: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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.