#VU51627 Use of insufficiently random values in cloud-init (Ubuntu package) - CVE-2020-8631
Published: March 23, 2021
Vulnerability identifier: #VU51627
Vulnerability risk: Low
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2020-8631
CWE-ID: CWE-330
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vulnerable software:
cloud-init (Ubuntu package)
cloud-init (Ubuntu package)
Software vendor:
Canonical Ltd.
Canonical Ltd.
Description
The vulnerability allows a local user to predict passwords.
The vulnerability exists due to cloud-init relies on Mersenne Twister for a random password, which uses the random.choice() function in rand_str() in cloudinit/util.py. A local user can guess randomly generated passwords and gain unauthorized access.
Remediation
Install updates from vendor's website.