SB2020110440 - Red Hat Enterprise Linux 8 update for cloud-init
Published: November 4, 2020
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 2 vulnerabilities.
1) Use of insufficiently random values (CVE-ID: CVE-2020-8631)
CWE-ID: CWE-330 - Use of Insufficiently Random Values
CVSSv4: 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
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.
2) Insufficiently protected credentials (CVE-ID: CVE-2020-8632)
CWE-ID: CWE-522 - Insufficiently Protected Credentials
CVSSv4: 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
The vulnerability allows a local user to guess passwords.
The vulnerability exists due to cloud-init has a small default pwlen value in rand_user_password() function in cloudinit/config/cc_set_passwords.py. A local user can guess passwords and gain unauthorized access to the application.
Remediation
Install update from vendor's website.