What’s Vulnerable › Vulnerabilities
CVE-2020-8631
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-02-05 · updated 2026-06-17
- Weakness: CWE-330
Description
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
- Canonical Ltd. cloud-init: through 19.4
- Debian Linux: 8.0
- openSUSE Leap: 15.1
References
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html
- https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795
- https://github.com/canonical/cloud-init/pull/204
- https://lists.debian.org/debian-lts-announce/2020/02/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html
- https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795
- https://github.com/canonical/cloud-init/pull/204
- https://lists.debian.org/debian-lts-announce/2020/02/msg00021.html
Get alerted when CVE-2020-8631 or the next vulnerability affects your stack