CVE-2020-8631

medium

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.

References

https://lists.debian.org/debian-lts-announce/2020/02/msg00021.html

https://github.com/canonical/cloud-init/pull/204

https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795

http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html

Details

Source: Mitre, NVD

Published: 2020-02-05

Updated: 2021-12-22

Risk Information

CVSS v2

Base Score: 2.1

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:N

Severity: Low

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Severity: Medium