CVE-2020-8631

NameCVE-2020-8631
Descriptioncloud-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-2113-1
Debian Bugs951362

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
cloud-init (PTS)jessie, jessie (lts)0.7.6~bzr976-2+deb8u3fixed
stretch (security), stretch (lts), stretch0.7.9-2+deb9u1vulnerable
buster20.2-2~deb10u2fixed
bullseye20.4.1-2+deb11u1fixed
bookworm22.4.2-1+deb12u2fixed
sid, trixie24.3.1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
cloud-initsourcewheezy(unfixed)end-of-life
cloud-initsourcejessie0.7.6~bzr976-2+deb8u1DLA-2113-1
cloud-initsource(unstable)19.4-2951362

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

Search for package or bug name: Reporting problems