CVE-2020-8631
CVE-2020-8631 is a medium-severity vulnerability in Canonical Cloud-init with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-330.
Key facts
- Severity: Medium (CVSS 3.x base score 5.5)
- CVSS v2: 2.1
- EPSS exploit prediction: 0% (35th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-330
- Affected product: Canonical Cloud-init
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2020-8631?
- 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.
- How severe is CVE-2020-8631?
- CVE-2020-8631 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2020-8631 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (35th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2020-8631?
- CVE-2020-8631 primarily affects Canonical Cloud-init. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2020-8631?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2020-8631 published?
- CVE-2020-8631 was published on 2020-02-05 and last updated on 2026-06-17.
References
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html
- https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795
- https://github.com/canonical/cloud-init/pull/204
- https://lists.debian.org/debian-lts-announce/2020/02/msg00021.html
Affected products (3)
- cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
More vulnerabilities in Canonical Cloud-init
- CVE-2024-6174 — High (CVSS 8.8): When a non-x86 platform is detected, cloud-init grants root access to a hardcoded url with a local IP address. To…
- CVE-2012-6639 — High (CVSS 8.8): An privilege elevation vulnerability exists in Cloud-init before 0.7.0 when requests to an untrusted system are…
- CVE-2018-10896 — High (CVSS 7.1): The default cloud-init configuration, in cloud-init 0.6.2 and newer, included "ssh_deletekeys: 0", disabling…
- CVE-2024-11584 — Medium (CVSS 5.9): cloud-init through 25.1.2 includes the systemd socket unit cloud-init-hotplugd.socket with default SocketMode that…
- CVE-2023-1786 — Medium (CVSS 5.5): Sensitive data could be exposed in logs of cloud-init before version 23.1.2. An attacker could use this information to…
- CVE-2022-2084 — Medium (CVSS 5.5): Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are…
All CVEs affecting Canonical Cloud-init →
Other CWE-330 (Use of Insufficiently Random Values) vulnerabilities
- CVE-2023-22601 — Critical (CVSS 10.0): InHand Networks InRouter 302, prior to version IR302 V3.5.56, and InRouter 615, prior to version…
- CVE-2026-25072 — Critical (CVSS 9.8): XikeStor SKS8310-8X Network Switch firmware versions 1.04.B07 and prior contain a predictable session identifier…
- CVE-2026-27755 — Critical (CVSS 9.8): SODOLA SL902-SWTGW124AS firmware versions through 200.1.20 contain a weak session identifier generation vulnerability…
- CVE-2026-27637 — Critical (CVSS 9.8): FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Prior to version 1.8.206,…
- CVE-2025-64097 — Critical (CVSS 9.8): NervesHub is a web service that allows users to manage over-the-air (OTA) firmware updates of devices in the field. A…
- CVE-2025-4607 — Critical (CVSS 9.8): The PSW Front-end Login & Registration plugin for WordPress is vulnerable to Privilege Escalation in all versions up…
Browse all CWE-330 (Use of Insufficiently Random Values) vulnerabilities →