CVSS 3.1
5.5 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NMedium (5.5) in canonical cloud-init. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExplain CVE-2021-3429 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3429?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3429?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3429 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Canonical Ltd. cloud-init | before 21.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | cloud-init | 0.7.9-2+deb9u1 | DLA-2601-1 |
| Debian | 12, 13, 14 | cloud-init | 20.4.1-2 | DEBIAN-CVE-2021-3429 |
| Ubuntu | 16.04:LTS | cloud-init | 21.1-19-gbad84ad4-0ubuntu1~16.04.1 | UBUNTU-CVE-2021-3429 |
| Ubuntu | 18.04:LTS | cloud-init | 21.1-19-gbad84ad4-0ubuntu1~18.04.1 | UBUNTU-CVE-2021-3429 |
| Ubuntu | 20.04:LTS | cloud-init | 21.1-19-gbad84ad4-0ubuntu1~20.04.1 | UBUNTU-CVE-2021-3429 |
| Red Hat | enterprise_linux:8::appstream | cloud-init | 0:20.3-10.el8_4.5 | RHSA-2021:3081 |
| Red Hat | rhel_eus:8.1::appstream | cloud-init | 0:18.5-7.el8_1.6 | RHSA-2021:3177 |
| Red Hat | rhel_eus:8.2::appstream | cloud-init | 0:18.5-12.el8_2.10 | RHSA-2021:3371 |
| SUSE | Linux Enterprise Module for Public Cloud 12 | cloud-init | 20.2-37.57.1 | SUSE-SU-2023:2164-1 |
| SUSE | Linux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3 and 2 more | cloud-init | 23.1-150100.8.66.1 | SUSE-FU-2023:3283-1 |
| openSUSE | Leap 15.4, Leap 15.5 | cloud-init | 23.1-150100.8.66.1 | SUSE-FU-2023:3283-1 |
| openSUSE | Tumbleweed | cloud-init | 23.1-2.1 | openSUSE-SU-2024:13053-1 |
| Rocky Linux | 8 | cloud-init | 0:20.3-10.el8_4.5 | RLSA-2021:3081 |
| Alpine | v3.13 | cloud-init | 20.4.1-r1 | ALPINE-CVE-2021-3429 |
| Alpine | v3.14, v3.15, v3.16 and 8 more | cloud-init | 21.1-r1 | ALPINE-CVE-2021-3429 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
By default the randomly password generated by "chpasswd" must be changed on the first login of the user. That means that once a user accesses the system for the first time, the random password in the log file cannot be used anymore. However it is possible to configure an extended validity period for the random password, thus the actual impact of this password leak may vary based on the environment and how the systems are configured through cloud-init.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | cloud-init-0:20.3-10.el8_4.5 | Fixed 2021-08-10 | RHSA-2021:3081 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | cloud-init-0:18.5-7.el8_1.6 | Fixed 2021-08-17 | RHSA-2021:3177 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | cloud-init-0:18.5-12.el8_2.10 | Fixed 2021-08-31 | RHSA-2021:3371 |
| Red Hat Enterprise Linux 6 | cloud-init | Out of support scope | |
| Red Hat Enterprise Linux 7 | cloud-init | Out of support scope | |
| Red Hat Enterprise Linux 9 | cloud-init | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3429.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.