CVE-2021-3429

published 19 Apr 2023 · updated 5 Feb 2025

sensitive data exposure in cloud-init logs

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 21.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Canonical<21.221.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-3429 severity on Zeptric[![CVE-2021-3429](https://zeptric.io/badge/cve/CVE-2021-3429.svg)](https://zeptric.io/cve/CVE-2021-3429)