CVE-2020-8631Canonical 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.4% probability of exploitation in 30 days · percentile 40
- Auth required
- Yes
- Published
- Feb 5, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-330
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
cloud-init through 19.4 relies on Mersenne Twister for a random password, which makes it easier for attackers to predict passwords, because rand_str in cloudinit/util.py calls the random.choice function.
What to do
- Apply the vendor's security update for Cloud-init.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| canonical | cloud-init | ≤ 19.4 |
| opensuse | leap | 15.1 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- bugs.launchpad.net Issue Tracking Patch Third Party Advisory
- github.com Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory