{"id":"CVE-2021-3429","state":"PUBLISHED","title":"sensitive data exposure in cloud-init logs","description":"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.","publishedAt":"2023-04-19T21:42:02.402Z","updatedAt":"2025-02-05T14:44:18.828Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","source":"canonical"},"assigner":"canonical","products":["Canonical Ltd. cloud-init"],"affected":[{"vendor":"Canonical Ltd.","product":"cloud-init","packageName":"cloud-init","versions":[{"version":"0","status":"affected","lessThan":"21.2","versionType":"semver"}],"collectionURL":"https://github.com/canonical/cloud-init/releases","platforms":["Linux"],"repo":"https://github.com/canonical/cloud-init/"}],"references":["https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668"],"weaknesses":["CWE-532"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3429.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-3429","state":"PUBLISHED","datePublished":"2023-04-19T21:42:02.402Z","dateUpdated":"2025-02-05T14:44:18.828Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2021-03-10T23:54:34.444Z"},"containers":{"cna":{"title":"sensitive data exposure in cloud-init logs","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Canonical Ltd.","product":"cloud-init","packageName":"cloud-init","versions":[{"version":"0","status":"affected","lessThan":"21.2","versionType":"semver"}],"collectionURL":"https://github.com/canonical/cloud-init/releases","platforms":["Linux"],"repo":"https://github.com/canonical/cloud-init/"}],"references":[{"url":"https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668","tags":["patch"]}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseSeverity":"MEDIUM","baseScore":5.5,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-532","description":"CWE-532","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2023-04-19T21:42:02.402Z"},"credits":[{"lang":"en","type":"finder","value":"Carl Pearson"}],"datePublic":"2021-03-26T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/canonical/cloud-init/commit/b794d426b9ab43ea9d6371477466070d86e10668","tags":["patch","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T16:53:17.576Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-02-05T14:43:36.200298Z","id":"CVE-2021-3429","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-532","type":"CWE","lang":"en","description":"CWE-532 Insertion of Sensitive Information into Log File"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-05T14:44:18.828Z"}}]}}}