cloud-init through 19.4 relies on Mersenne Twister for a random password, which makes it easier for attackers to predict passwords, because rand_str in cloudinit/util.py calls the random.choice function.
The product uses insufficiently random numbers or values in a security context that depends on unpredictable numbers.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Cloud-init | Canonical | * | 19.4 (including) |
| Red Hat Enterprise Linux 7 | RedHat | cloud-init-0:19.4-7.el7 | * |
| Red Hat Enterprise Linux 8 | RedHat | cloud-init-0:19.4-11.el8 | * |
| Cloud-init | Ubuntu | bionic | * |
| Cloud-init | Ubuntu | eoan | * |
| Cloud-init | Ubuntu | esm-infra/bionic | * |
| Cloud-init | Ubuntu | esm-infra/xenial | * |
| Cloud-init | Ubuntu | groovy | * |
| Cloud-init | Ubuntu | trusty | * |
| Cloud-init | Ubuntu | upstream | * |
| Cloud-init | Ubuntu | xenial | * |