CVE-2020-8631

Summary

CVECVE-2020-8631
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-02-05 14:15:00 UTC
Updated2021-12-22 18:18:00 UTC
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.

Risk And Classification

Problem Types: CWE-330

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Canonical Cloud-init All All All All
Operating System Debian Debian Linux 8.0 All All All
Operating System Opensuse Leap 15.1 All All All

References

ReferenceSourceLinkTags
[security-announce] openSUSE-SU-2020:0400-1: moderate: Security update f SUSE lists.opensuse.org
utils: use SystemRandom when generating random password. by xnox · Pull Request #204 · canonical/cloud-init · GitHub MISC github.com Patch, Third Party Advisory
Bug #1860795 “cc_set_passwords is too short for RANDOM” : Bugs : cloud-init package : Ubuntu MISC bugs.launchpad.net Issue Tracking, Patch, Third Party Advisory
[SECURITY] [DLA 2113-1] cloud-init security update MLIST lists.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 352245 Amazon Linux Security Advisory for cloud-init: ALAS-2021-1486
  • 377271 Alibaba Cloud Linux Security Update for cloud-init (ALINUX2-SA-2020:0167)
  • 900234 CBL-Mariner Linux Security Update for cloud-init 19.1
  • 903553 Common Base Linux Mariner (CBL-Mariner) Security Update for cloud-init (1887)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report