Risk | Low |
Patch available | YES |
Number of vulnerabilities | 3 |
CVE-ID | CVE-2020-8631 CVE-2020-8632 CVE-2021-3429 |
CWE-ID | CWE-330 CWE-522 CWE-532 |
Exploitation vector | Local |
Public exploit | N/A |
Vulnerable software |
cloud-init (Ubuntu package) Operating systems & Components / Operating system package or component |
Vendor | Canonical Ltd. |
Security Bulletin
This security bulletin contains information about 3 vulnerabilities.
EUVDB-ID: #VU51627
Risk: Low
CVSSv4.0: 0.4 [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 - Use of Insufficiently Random Values
Exploit availability: No
DescriptionThe 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.
Install updates from vendor's website.
Vulnerable software versionscloud-init (Ubuntu package): 0.5.0 - 19.4
CPE2.3https://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795
https://github.com/canonical/cloud-init/pull/204
https://lists.debian.org/debian-lts-announce/2020/02/msg00021.html
Q & A
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.
EUVDB-ID: #VU51628
Risk: Low
CVSSv4.0: 0.4 [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 - Insufficiently Protected Credentials
Exploit availability: No
DescriptionThe 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.
Install updates from vendor's website.
Vulnerable software versionscloud-init (Ubuntu package): 0.5.0 - 19.4
CPE2.3https://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1860795
https://github.com/canonical/cloud-init/pull/189
https://lists.debian.org/debian-lts-announce/2020/02/msg00021.html
Q & A
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.
EUVDB-ID: #VU51629
Risk: Low
CVSSv4.0: 4.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]
CVE-ID: CVE-2021-3429
CWE-ID:
CWE-532 - Information Exposure Through Log Files
Exploit availability: No
DescriptionThe vulnerability allows a local user to gain access to sensitive information.
The vulnerability exists due to cloud-init writes randomly generated passwords as part of the chpasswd module into log files. A local user can read the log files and gain access to sensitive data.
MitigationInstall updates from vendor's website.
Vulnerable software versionscloud-init (Ubuntu package): 0.5.0 - 18.5
CPE2.3https://alas.aws.amazon.com/ALAS-2021-1486.html
Q & A
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.