Live threats

All CVEs / Canonical

CVE-2020-8631Canonical Cloud-init

Medium 5.5

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cloud-init.

Affected products (CPE)

VendorProductVersions
canonicalcloud-init≤ 19.4
opensuseleap15.1
debiandebian_linux8.0

Official sources

References

Links published by the sources. Open them with care.