Insufficiently protected credentials in cloud-init (Ubuntu package) - CVE-2020-8632
Published: March 23, 2021
Vulnerability identifier: #VU51628
CSH Severity: Low
CVSS v4.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-8632
CWE-ID: CWE-522
Exploitation vector: Local access
Exploit availability:
No public exploit available
Vendor: Canonical Ltd.
Affected software:
cloud-init (Ubuntu package)
cloud-init (Ubuntu package)
Detailed vulnerability description
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.
How to mitigate CVE-2020-8632
Install updates from vendor's website.