CVE-2021-3429Canonical Cloud-init
Medium 5.5
Follow: this CVE · Canonical · Canonical Cloud-init We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.5
- EPSS
- 0.2% probability of exploitation in 30 days · percentile 7
- Auth required
- Yes
- Published
- Apr 19, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-532
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Cloud-init.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | cloud-init | < 21.2 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch