Skip to content
OpenAdvisories
Unscored CVE-2020-8631 EUVD-2020-29479GHSA-2r47-hhff-7qcp

cloud-init through 19.4 relies on Mersenne Twister for a random password, which makes it easier for attackers to predict passwords, because…

Published Feb 5, 2020 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 cloud-init 19.4-2 —
Debian 13 cloud-init 19.4-2 —
Debian 12 cloud-init 19.4-2 —
Debian 8 cloud-init 0.7.6~bzr976-2+deb8u1 DLA-2113-1
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS cloud-init 20.2-45-g5f7825e2-0ubuntu1~18.04.1 —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS cloud-init No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 cloud-init 19.4-11.el8 RHSA-2020:4650
RHEL 7 cloud-init 19.4-7.el7 RHSA-2020:3898
ReleasePackageFixed inAdvisory
SLES 15 SP1 cloud-init 19.4-8.17.1 SUSE-SU-2020:0751-1
SLES 15 cloud-init 19.4-5.24.1 SUSE-SU-2020:0585-1
SLES 12 cloud-init 19.4-37.39.1 SUSE-SU-2020:0818-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cloud-init 21.2-1.2 openSUSE-SU-2024:10688-1
openSUSE Leap 15.1 cloud-init 19.4-lp151.2.15.1 openSUSE-SU-2020:0400-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 cloud-init 19.3-4.amzn2 ALAS2-2021-1576

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 cloud-init 19.4-11.0.1.el8 ELSA-2020-4650
Oracle Linux 7 cloud-init 19.4-7.0.3.el7 ELSA-2020-3898

Advisories 12

References