CVE-2021-3429: sensitive data exposure in cloud-init logs
Vulnerability summary
CVE-2021-3429 is a medium (CVSS 5.5) vulnerability in canonical ltd. cloud-init. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13.1% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 19-04-2023PublishedVulnerability first disclosed.
- 05-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · Red hatEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · AlpineEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- cloud-init< 20.4.1-r1 | < 21.1-r1
Canonical1 product
- cloud-init< 21.2
Canonical ltd.1 product
- cloud-init< 21.2
Debian1 product
- cloud-init< 20.4.1-2 | < 0.7.9-2+deb9u1
Mageia1 product
- cloud-init< 20.2-2.1.mga8
Redhat1 product
- cloud-init< 0:20.3-10.el8_4.5 | < 0:18.5-7.el8_1.6 | < 0:18.5-12.el8_2.10
Ubuntu1 product
- cloud-init< 21.1-19-gbad84ad4-0ubuntu1~16.04.1 | < 21.1-19-gbad84ad4-0ubuntu1~18.04.1 | < 21.1-19-gbad84ad4-0ubuntu1~20.04.1
7 vendors · 7 products