PT-2020-20241 · Canonical+4 · Cloud-Init+4
Dimitri John Ledkov
+1
·
Published
2020-02-05
·
Updated
2024-06-15
·
CVE-2020-8631
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
cloud-init versions prior to 19.4
Description
The issue is related to the use of Mersenne Twister for generating random passwords, which can make it easier for attackers to predict passwords. This is because the
rand str function in cloudinit/util.py calls the random.choice function.Recommendations
For cloud-init versions prior to 19.4, consider updating to a version that uses a more secure random number generator to mitigate the risk of password prediction. As a temporary workaround, consider generating passwords manually using a secure method until a patched version is available.
Fix
Use of Insufficiently Random Values
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Centos
Red Hat
Suse
Cloud-Init