CVE-2020-8631: canonical cloud-init Use of Insufficiently Random Values
Vulnerability summary
CVE-2020-8631 is a medium (CVSS 5.5) Use of Insufficiently Random Values vulnerability in canonical cloud-init. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 39.5% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 5Timeline
- 05-02-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.43% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Debian2 products
- cloud-init< 19.4-2
- debian_linuxEOL8.0
Canonical1 product
- cloud-init≤ 19.4
Opensuse1 product
- leapEOL15.1
Ubuntu1 product
- cloud-initAll versions (No fix recorded) | < 20.2-45-g5f7825e2-0ubuntu1~18.04.1
4 vendors · 5 products
References
8 links- bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795X Refsource MISCIssue TrackingPatchThird Party Advisory
- lists.debian.org/debian-lts-announce/2020/02/msg00021.htmlMailing ListX Refsource MLISTThird Party Advisory
- lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.htmlVendor AdvisoryX Refsource SUSEMailing ListThird Party Advisory