Medium severity · published Feb 5, 2020
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…
5.5
CVSS
0.4%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 38% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CL
Cloud-init · Canonical
through 19.4 · source: NVD
DL
Debian Linux · Debian
8.0 · source: NVD
LE
Leap · Opensuse
15.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-8631
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-8631
Mailing List
http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html
Issue Tracking
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795
Patch
https://github.com/canonical/cloud-init/pull/204
Mailing List
https://lists.debian.org/debian-lts-announce/2020/02/msg00021.html
More from Cloud-init
8.8
CVE-2024-6174
When a non-x86 platform is detected, cloud-init grants root access to a hardcoded url with a local IP address
8.8
CVE-2012-6639
An privilege elevation vulnerability exists in Cloud-init before 0.7.0 when requests to an untrusted system are submitted for EC2 instance data
7.1
CVE-2018-10896
The default cloud-init configuration, in cloud-init 0.6.2 and newer, included "ssh_deletekeys: 0", disabling cloud-init's deletion of ssh host keys
5.5
CVE-2023-1786
Sensitive data could be exposed in logs of cloud-init before version 23.1.2
5.5
CVE-2022-2084
Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported
