CVE-2021-3429

Published: 26 March 2021

When instructing cloud-init to set a random password for a new user account, versions before 21.1.19 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.

Priority

Medium

CVSS 3 base score: 6.6

Status

Package Release Status
cloud-init
Launchpad, Ubuntu, Debian
Upstream
Released (20.4.1-2)
Ubuntu 20.10 (Groovy Gorilla)
Released (21.1-19-gbad84ad4-0ubuntu1~20.10.1)
Ubuntu 20.04 LTS (Focal Fossa)
Released (21.1-19-gbad84ad4-0ubuntu1~20.04.1)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (21.1-19-gbad84ad4-0ubuntu1~18.04.1)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (21.1-19-gbad84ad4-0ubuntu1~16.04.1)
Ubuntu 14.04 ESM (Trusty Tahr) Does not exist

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