CVE-2023-1786: sensitive data exposure in cloud-init logs
Canonical cloud-init could allow a local authenticated attacker to obtain sensitive information, caused by the storage of sensitive data in the log files. By gaining access to the log files, an attacker could exploit this vulnerability to obtain hashed passwords information, and use this information to launch further attacks against the affected system.
Other sources
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.
— Ubuntu
Affected Software
Remediation
Mitigation
Event History
Frequently Asked Questions
What is CVE-2023-1786?
CVE-2023-1786 is a vulnerability in cloud-init before version 23.1.2 that could expose sensitive data in logs.
How can an attacker exploit CVE-2023-1786?
An attacker could use exposed sensitive information in cloud-init logs to find hashed passwords and potentially escalate their privilege.
What is the severity of CVE-2023-1786?
CVE-2023-1786 has a severity rating of 5.5 (medium).
Which software versions are affected by CVE-2023-1786?
Cloud-init versions before 23.1.2 are affected by CVE-2023-1786.
How do I fix CVE-2023-1786?
To fix CVE-2023-1786, update cloud-init to version 23.1.2 or higher.