PT-2023-12253 · Unknown+5 · Cloud-Init+5
Carl Pearson
+1
·
Published
2021-03-20
·
Updated
2024-06-15
·
CVE-2021-3429
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
cloud-init versions prior to 21.2
cloud-init versions prior to 21.1.19
Description
When instructing cloud-init to set a random password for a new user account, the password would be written to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user.
Recommendations
For versions prior to 21.2, update to version 21.2 or later to resolve the issue.
For versions prior to 21.1.19, update to version 21.1.19 or later to resolve the issue.
As a temporary workaround, consider restricting access to the /var/log/cloud-init-output.log file to minimize the risk of exploitation.
Fix
Insertion into Log File
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Centos
Red Hat
Rocky Linux
Suse
Cloud-Init