{"id":"CVE-2020-8631","aliases":["CVE-2020-8631"],"related":[],"kind":"vulnerability","state":"published","title":"cloud-init through 19.4 relies on Mersenne Twister for a random password, which makes it easier for attackers to predict passwords, because…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"cloud-init versiones hasta 19.4 se basa en Mersenne Twister para una contraseña aleatoria, lo que facilita a atacantes predecir contraseñas, porque la función rand_str en el archivo cloudinit/util.py llama a la función random.choice.","source":"nvd"}],"published":"2020-02-05T13:39:50.000Z","modified":"2026-06-17T03:26:40.817Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","score":2.1,"rating":"LOW"}],"cwes":["CWE-330"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"19.4"}],"vendor":"canonical","product":"cloud-init","cpe":"cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"15.1"}],"vendor":"opensuse","product":"leap","cpe":"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/canonical/cloud-init/pull/204","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795","tags":["issue-tracking","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/02/msg00021.html","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html","tags":["mailing-list","third-party-advisory","vendor-advisory","x-refsource-suse","x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-8631","url":"https://www.cve.org/CVERecord?id=CVE-2020-8631","licence":"CVE Terms of Use","modified":"2024-08-04T10:03:46.363Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-8631","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-8631","licence":"Public domain","modified":"2026-06-17T03:26:40.817Z"}],"updatedAt":"2026-11-25T22:57:50.751Z","epss":{"score":0.00435,"percentile":0.3952,"date":"2026-12-02T12:00:21.000Z"}}