Vulnerability Details : 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.
Products affected by CVE-2020-8631
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*
- cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-8631
0.07%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 35 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-8631
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
2.1
|
LOW | AV:L/AC:L/Au:N/C:P/I:N/A:N |
3.9
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2020-8631
-
The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-8631
-
https://lists.debian.org/debian-lts-announce/2020/02/msg00021.html
[SECURITY] [DLA 2113-1] cloud-init security updateMailing List;Third Party Advisory
-
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795
Bug #1860795 “cc_set_passwords is too short for RANDOM” : Bugs : cloud-init package : UbuntuIssue Tracking;Patch;Third Party Advisory
-
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html
Mailing List;Third Party Advisory
-
https://github.com/canonical/cloud-init/pull/204
utils: use SystemRandom when generating random password. by xnox · Pull Request #204 · canonical/cloud-init · GitHubPatch;Third Party Advisory
Jump to