5.5

CVE-2021-3429: canonical ltd. cloud-init

CVSS: 5.5v3.1MediumModified
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 11.6% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
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 listedIn no KEV catalog
RansomwareNone recordedNo known 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

5 scores · 5 sources · 1 version

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 score
0.22%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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: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

References

18 links
Show all 18 references