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, ELA-448-1
Debian Bugs985540

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cloud-init (PTS)jessie, jessie (lts)0.7.6~bzr976-2+deb8u3fixed
stretch (security), stretch (lts), stretch0.7.9-2+deb9u1fixed
buster20.2-2~deb10u2fixed
bullseye20.4.1-2+deb11u1fixed
bookworm22.4.2-1+deb12u2fixed
sid, trixie24.3.1-2fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cloud-initsourcejessie0.7.6~bzr976-2+deb8u3
cloud-initsourcestretch0.7.9-2+deb9u1DLA-2601-1
cloud-initsourcebuster20.2-2~deb10u2
cloud-initsource(unstable)20.4.1-2985540
cloud-intunknownjessie0.7.6~bzr976-2+deb8u3ELA-448-1

Notes

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

Search for package or bug name: Reporting problems