CVE-2021-3429
mediumpriority · track · 22EPSS 0.002 · 12 %ileDEEUUSEPSS · scored 2026-10-27
When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedcloud-init-0:20.3-10.el8_4.5.noarch as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:3081 - Fixedcloud-init-0:20.3-10.el8_4.5.src as a component of Red Hat Enterprise Linux AppStream (v. 8)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:3081 - Fixedcloud-init-0:18.5-7.el8_1.6.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:3177 - Fixedcloud-init-0:18.5-7.el8_1.6.src as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.1)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:3177 - Fixedcloud-init-0:18.5-12.el8_2.10.noarch as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:3371 - Fixedcloud-init-0:18.5-12.el8_2.10.src as a component of Red Hat Enterprise Linux AppStream EUS (v. 8.2)redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:3371
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (11)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- RHSA-2021:3081Red Hat Security Advisory: cloud-init security update2021-08-10csaf · redhat_csafUS
An update for cloud-init is now available for Red Hat Enterprise Linux 8. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- RHSA-2021:3177Red Hat Security Advisory: cloud-init security update2021-08-17csaf · redhat_csafUS
An update for cloud-init is now available for Red Hat Enterprise Linux 8.1 Extended Update Support. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- RHSA-2021:3371Red Hat Security Advisory: cloud-init security update2021-08-31csaf · redhat_csafUS
An update for cloud-init is now available for Red Hat Enterprise Linux 8.2 Extended Update Support. Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- WID-SEC-W-2025-0214Red Hat Enterprise Linux (cloud-init): Schwachstelle ermöglicht Offenlegung von InformationenDeutsch2021-08-10csaf · cert_bundDE
Ein lokaler Angreifer kann eine Schwachstelle in Red Hat Enterprise Linux in der Komponente "cloud-init" ausnutzen, um Informationen offenzulegen.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- https://bugs.launchpad.net/cloud-init/+bug/1918303Patchcnnvd
- https://cxsecurity.com/cveshow/CVE-2021-3429/cnnvd
- https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668cnnvd
- https://packetstormsecurity.com/files/163782/Red-Hat-Security-Advisory-2021-3081-01.htmlcnnvd
- https://packetstormsecurity.com/files/163855/Red-Hat-Security-Advisory-2021-3177-01.htmlcnnvd
- https://packetstormsecurity.com/files/163974/Red-Hat-Security-Advisory-2021-3371-01.htmlcnnvd
- https://vigilance.fr/vulnerability/cloud-init-privilege-escalation-via-Unhashed-Generated-Password-34900cnnvd
- https://www.auscert.org.au/bulletins/ESB-2021.0983cnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan