CVE-2021-3429
Published: 19 April 2023
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.
Priority
Status
Package | Release | Status |
---|---|---|
cloud-init Launchpad, Ubuntu, Debian |
bionic |
Released
(21.1-19-gbad84ad4-0ubuntu1~18.04.1)
|
focal |
Released
(21.1-19-gbad84ad4-0ubuntu1~20.04.1)
|
|
groovy |
Released
(21.1-19-gbad84ad4-0ubuntu1~20.10.1)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(21.2)
|
|
xenial |
Released
(21.1-19-gbad84ad4-0ubuntu1~16.04.1)
|
|
Patches: upstream: https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.5 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | None |
Availability impact | None |
Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |