Bug 1184758 (CVE-2021-3429) - VUL-0: CVE-2021-3429: cloud-init: randomly generated passwords logged in clear-text to world-readable file
Summary: VUL-0: CVE-2021-3429: cloud-init: randomly generated passwords logged in clea...
Status: RESOLVED FIXED
Alias: CVE-2021-3429
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/281070/
Whiteboard: CVSSv3.1:SUSE:CVE-2021-3429:5.5:(AV:L...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-14 15:23 UTC by Alexander Bergmann
Modified: 2024-05-16 11:40 UTC (History)
5 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2021-04-14 15:23:58 UTC
rh#1940967

The "Set Passwords" module allows a user to specify that cloud-init create a random password for a particular user. In order to allow people to access systems using these randomly generated passwords (without needing another access vector in order to know the passwords), cloud-init emits them to the serial console. In order to have log messages emitted to the console readily available within the system also, it writes that same content to /var/log/cloud-init-output.log. As a result, those passwords are written to that file, which is world-readable.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1940967
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3429
https://access.redhat.com/security/cve/CVE-2021-3429
Comment 3 Swamp Workflow Management 2021-07-20 07:16:35 UTC
SUSE-RU-2021:2401-1: An update that has two recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1183939,1184758
CVE References: 
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for Public Cloud 15 (src):    cloud-init-20.2-5.55.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 4 Swamp Workflow Management 2021-07-23 13:20:25 UTC
openSUSE-RU-2021:1080-1: An update that has two recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1183939,1184758
CVE References: 
JIRA References: 
Sources used:
openSUSE Leap 15.2 (src):    cloud-init-20.2-lp152.5.24.1
Comment 5 Swamp Workflow Management 2021-08-31 16:20:19 UTC
# maintenance_jira_update_notice
SUSE-RU-2021:2887-1: An update that has two recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 1183939,1184758
CVE References: 
JIRA References: 
Sources used:
SUSE Linux Enterprise Module for Public Cloud 15-SP3 (src):    cloud-init-20.2-8.48.1
SUSE Linux Enterprise Module for Public Cloud 15-SP2 (src):    cloud-init-20.2-8.48.1
SUSE Linux Enterprise Module for Public Cloud 15-SP1 (src):    cloud-init-20.2-8.48.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 6 Robert Schweikert 2021-12-15 19:06:30 UTC
Released
Comment 8 Robert Schweikert 2022-08-12 12:24:11 UTC
277654
Comment 14 Maintenance Automation 2023-05-10 20:30:10 UTC
SUSE-SU-2023:2164-1: An update that solves two vulnerabilities and has three fixes can now be installed.

Category: security (moderate)
Bug References: 1181283, 1183939, 1184085, 1184758, 1210277
CVE References: CVE-2021-3429, CVE-2023-1786
Sources used:
Public Cloud Module 12 (src): cloud-init-20.2-37.57.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 17 Maintenance Automation 2023-08-11 12:30:34 UTC
SUSE-FU-2023:3283-1: An update that solves two vulnerabilities and has one feature fix can now be installed.

Category: feature (moderate)
Bug References: 1184758, 1210273, 1212879
CVE References: CVE-2021-3429, CVE-2023-1786
Sources used:
openSUSE Leap 15.4 (src): cloud-init-23.1-150100.8.66.1
openSUSE Leap 15.5 (src): cloud-init-23.1-150100.8.66.1
Public Cloud Module 15-SP1 (src): cloud-init-23.1-150100.8.66.1
Public Cloud Module 15-SP2 (src): cloud-init-23.1-150100.8.66.1
Public Cloud Module 15-SP3 (src): cloud-init-23.1-150100.8.66.1
Public Cloud Module 15-SP4 (src): cloud-init-23.1-150100.8.66.1
Public Cloud Module 15-SP5 (src): cloud-init-23.1-150100.8.66.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.