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.
Metrics
CVSS 3.1 5.5/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.htmlMailing List, Third Party Advisory
- https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795Issue Tracking, Patch, Third Party Advisory
- https://github.com/canonical/cloud-init/pull/204Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/02/msg00021.htmlMailing List, Third Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.htmlMailing List, Third Party Advisory
- https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795Issue Tracking, Patch, Third Party Advisory
- https://github.com/canonical/cloud-init/pull/204Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2020/02/msg00021.htmlMailing List, Third Party Advisory
Timeline
- Published
- Feb 5, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified