CVE-2021-3429

NameCVE-2021-3429
DescriptionWhen 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2601-1
Debian Bugs985540

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cloud-init (PTS)buster20.2-2~deb10u2fixed
bullseye20.4.1-2+deb11u1fixed
bookworm22.4.2-1fixed
trixie24.1.1-1fixed
sid24.1.3-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cloud-initsourcestretch0.7.9-2+deb9u1DLA-2601-1
cloud-initsourcebuster20.2-2~deb10u2
cloud-initsource(unstable)20.4.1-2985540

Notes

https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668

Search for package or bug name: Reporting problems