CVE-2020-8632
In cloud-init through 19.4, rand_user_password in cloudinit/config/cc_set_passwords.py has a small default pwlen value, which makes it easier for attackers to guess passwords.
What to do
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | cloud-init | Fixed | 21.4-25-g039c40f9-0ubuntu1~22.04.1 | UBUNTU-CVE-2020-8632 |
| Ubuntu 20.04 | cloud-init | Fixed | 20.1-10-g71af48df-0ubuntu5 | UBUNTU-CVE-2020-8632 |
| Ubuntu 18.04 | cloud-init | Fixed | 20.2-45-g5f7825e2-0ubuntu1~18.04.1 | UBUNTU-CVE-2020-8632 |
| Ubuntu 16.04 | cloud-init | Will not fix This CVE has been patched in Xenial ESM. The patch, however, has been added only to the updates pocket, and since cloud-init is only used during first boot… | UBUNTU-CVE-2020-8632 | |
| Ubuntu 14.04 | cloud-init | Will not fix This CVE has been patched in Xenial ESM. The patch, however, has been added only to the updates pocket, and since cloud-init is only used during first boot… | ||
| Debian 14 | cloud-init | Fixed | 19.4-2 | DEBIAN-CVE-2020-8632 |
| Debian 13 | cloud-init | Fixed | 19.4-2 | DEBIAN-CVE-2020-8632 |
| Debian 12 | cloud-init | Fixed | 19.4-2 | DEBIAN-CVE-2020-8632 |
| Red Hat Enterprise Linux 8 | cloud-init | Fixed | 0:19.4-11.el8 | RHSA-2020:4650 |
| Red Hat Enterprise Linux 7 | cloud-init | Fixed | 0:19.4-7.el7 | RHSA-2020:3898 |
| Red Hat Enterprise Linux 6 | cloud-init | Will not fix Out of support scope |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
Vendor advisories:
References
- 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
- http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00042.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.