Vulnerabilities · 2020 · Canonical
CVE-2020-8631
Canonical Cloud-init vulnerability
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.
Affected products
Cloud-init, Leap, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Canonical Cloud-init runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795 · Patch
- github.com/canonical/cloud-init/pull/204 · Patch
- lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2020/02/msg00021.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-8631
- cve.org/CVERecord?id=CVE-2020-8631
More vulnerabilities in Canonical products
CVE-2025-54293CVE-2025-54292CVE-2025-54291CVE-2025-54290CVE-2025-54289CVE-2025-54288CVE-2025-54286CVE-2025-53513All 4,095
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.