CVE-2021-3429
Publication date 19 April 2023
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| cloud-init | ||
| 20.04 LTS focal |
Fixed 21.1-19-gbad84ad4-0ubuntu1~20.04.1
|
|
| 18.04 LTS bionic |
Fixed 21.1-19-gbad84ad4-0ubuntu1~18.04.1
|
|
| 16.04 LTS xenial |
Fixed 21.1-19-gbad84ad4-0ubuntu1~16.04.1
|
|
| 14.04 LTS trusty | Not in release |
Severity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| 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 |