5.5

CVE-2021-3429: sensitive data exposure in cloud-init logs

Modified
AliasesMGASA-2021-0494RHSA-2021:3081RHSA-2021:3177
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 13.1% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.22%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 19-04-2023
    PublishedVulnerability first disclosed.
  2. 05-02-2025
    Last 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

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

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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
Canonical ltd.1 product
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

References

19 links
Show all 19 references