CVEfocus › CVE database › CVE-2020-8631

CVE-2020-8631

CVSS 5.5 MediumEPSS 0.4% (higher than 30% of CVEs)Published 2020-02-05Updated 2024-08-04Assigner: mitre

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.

What to do

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed
3Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04cloud-initNot affected
vulnerable_code_not_present
Ubuntu 18.04cloud-initFixed20.2-45-g5f7825e2-0ubuntu1~18.04.1UBUNTU-CVE-2020-8631
Ubuntu 16.04cloud-initWill not fix
This CVE has been patched in Xenial ESM. The patch, however, has been added only to the updates pocket, and since cloud-init is only used during first boot…
UBUNTU-CVE-2020-8631
Ubuntu 14.04cloud-initWill not fix
This CVE has been patched in Xenial ESM. The patch, however, has been added only to the updates pocket, and since cloud-init is only used during first boot…
Debian 14cloud-initFixed19.4-2DEBIAN-CVE-2020-8631
Debian 13cloud-initFixed19.4-2DEBIAN-CVE-2020-8631
Debian 12cloud-initFixed19.4-2DEBIAN-CVE-2020-8631
Red Hat Enterprise Linux 8cloud-initFixed0:19.4-11.el8RHSA-2020:4650
Red Hat Enterprise Linux 7cloud-initFixed0:19.4-7.el7RHSA-2020:3898
Red Hat Enterprise Linux 6cloud-initWill not fix
Out of support scope

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.