{"id":"CVE-2020-8631","details":"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.","modified":"2026-03-14T14:41:16.648354Z","published":"2020-02-05T14:15:11.607Z","related":["MGASA-2020-0295","SUSE-SU-2020:0585-1","SUSE-SU-2020:0751-1","SUSE-SU-2020:0818-1","openSUSE-SU-2020:0400-1","openSUSE-SU-2024:10688-1"],"references":[{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00021.html"},{"type":"FIX","url":"https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795"},{"type":"FIX","url":"https://github.com/canonical/cloud-init/pull/204"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/canonical/cloud-init","events":[{"introduced":"0"},{"last_affected":"a1063b89e32fa698382bb9617632c0b5f206cdb4"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"19.4"}]}}],"versions":["0.5.0","0.5.1","0.5.10","0.5.11","0.5.12","0.5.13","0.5.14","0.5.15","0.5.16pre1","0.5.2","0.5.3","0.5.4","0.5.5","0.5.6","0.5.8","0.6.0","0.6.1","0.6.2","0.6.3","0.7.0","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.7.6","0.7.7","0.7.8","0.7.9","17.1","17.2","18.1","18.2","18.3","18.4","18.5","19.1","19.2","19.3","19.4"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-8631.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"15.1"}]},{"events":[{"introduced":"0"},{"last_affected":"8.0"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}