ALAS2-2021-1576 --- cloud-initID: oval:org.secpod.oval:def:1700540 | Date: (C)2021-01-15 (M)2023-06-16 |
Class: PATCH | Family: unix |
The default cloud-init configuration included "ssh_deletekeys: 0", disabling cloud-init"s deletion of ssh host keys. In some environments, this could lead to instances created by cloning a golden master or template system, sharing ssh host keys, and being able to impersonate one another or conduct man-in-the-middle attacks. A flaw was found in cloud-init, where it uses the random.choice function when creating sensitive random strings used for generating a random password in new instances. Depending on the instance configuration, a remote or local attacker may abuse this vulnerability to guess the password of the victim user. A flaw was found in cloud-init, where it uses short passwords when generating a random password in new instances. Depending on the instance configuration, a remote or local attacker may abuse this vulnerability to guess the password of the victim user