| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-2113-1 |
| Debian Bugs | 951362 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| cloud-init (PTS) | bullseye | 20.4.1-2+deb11u1 | fixed |
| bookworm | 22.4.2-1+deb12u3 | fixed | |
| trixie | 25.1.4-1+deb13u1 | fixed | |
| forky | 25.3-2 | fixed | |
| sid | 26.1-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| cloud-init | source | jessie | 0.7.6~bzr976-2+deb8u1 | DLA-2113-1 | ||
| cloud-init | source | (unstable) | 19.4-2 | 951362 |
[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