{"id":"CVE-2023-1786","summary":"sensitive data exposure in cloud-init logs","details":"Sensitive data could be exposed in logs of cloud-init before version 23.1.2. An attacker could use this information to find hashed passwords and possibly escalate their privilege.","modified":"2026-08-12T03:51:44.744582907Z","published":"2023-04-26T22:23:47.305Z","related":["ALSA-2023:6371","ALSA-2023:6943","SUSE-FU-2023:3283-1","SUSE-SU-2023:2164-1","SUSE-SU-2023:2628-1","SUSE-SU-2024:0128-1","SUSE-SU-2025:20656-1","SUSE-SU-2025:20755-1","openSUSE-SU-2024:13053-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1786.json","cna_assigner":"canonical","cwe_ids":["CWE-532"]},"references":[{"type":"WEB","url":"https://github.com/canonical/cloud-init/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ATBJSXPL2IOAD2LDQRKWPLIC7QXS44GZ/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1786.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-1786"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6042-1"},{"type":"REPORT","url":"https://bugs.launchpad.net/cloud-init/+bug/2013967"},{"type":"FIX","url":"https://github.com/canonical/cloud-init/commit/a378b7e4f47375458651c0972e7cd813f6fe0a6b"},{"type":"PACKAGE","url":"https://github.com/canonical/cloud-init/releases"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/canonical/cloud-init","events":[{"introduced":"0"},{"fixed":"76066fef0c187265c1c807f991af883da160d224"},{"fixed":"a378b7e4f47375458651c0972e7cd813f6fe0a6b"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"23.1.2"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*"}}],"versions":["23.1.1","23.1","19.1","22.4","22.3","22.2","22.1","21.4","21.3","21.2","21.1","20.4","20.3","20.2","20.1","19.4","19.3","19.2","18.5","18.4","18.3","18.2","18.1","17.2","17.1","0.7.9","0.7.5","0.7.8","0.6.3","0.6.2","0.7.7","0.7.6","0.7.4","0.7.3","0.7.2","0.7.1","0.7.0","0.6.1","0.6.0","0.5.16pre1","0.5.15","0.5.14","0.5.13","0.5.12","0.5.11","0.5.10","0.5.8","0.5.6","0.5.5","0.5.4","0.5.3","0.5.2","0.5.1","0.5.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-1786.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}