CVE-2021-3429: canonical ltd. cloud-init
CVSS: 5.5v3.1MediumModified
AliasesMGASA-2021-0494RHSA-2021:3081RHSA-2021:3177RHSA-2021:3371UBUNTU-CVE-2021-3429DEBIAN-CVE-2021-3429DLA-2601-1
Published 19-04-2023Last modified 05-02-2025
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 11.6% of scored vulnerabilities.
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)EPSS score
0.22%
0%100%
Low · 0.00 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
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
5 scores · 5 sources · 1 versionMedium 5.5Preferred score · CVE.org (CNA)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NSourcesAll 5 agree
- 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
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
0.00 pp
From 0.22% on 19-09-2026
19-09-202619-10-2026
EPSS score0.22%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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:18.5-12.el8_2.10 | < 0:20.3-10.el8_4.5 | < 0:18.5-7.el8_1.6
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
6 vendors · 6 products