Name | CVE-2020-8631 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2113-1 |
Debian Bugs | 951362 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
cloud-init (PTS) | jessie, jessie (lts) | 0.7.6~bzr976-2+deb8u3 | fixed |
| stretch (security), stretch (lts), stretch | 0.7.9-2+deb9u1 | vulnerable |
| buster | 20.2-2~deb10u2 | fixed |
| bullseye | 20.4.1-2+deb11u1 | fixed |
| bookworm | 22.4.2-1+deb12u2 | fixed |
| sid, trixie | 24.3.1-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
[buster] - cloud-init <no-dsa> (Minor issue)
[stretch] - cloud-init <no-dsa> (Minor issue)
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795
https://github.com/canonical/cloud-init/pull/204