CWE
532
Advisory Published
CVE Published
Updated

CVE-2023-1786: sensitive data exposure in cloud-init logs

First published: Wed Apr 26 2023(Updated: )

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.

Credit: security@ubuntu.com security@ubuntu.com

Affected SoftwareAffected VersionHow to fix
IBM QRadar SIEM<=7.5 - 7.5.0 UP8 IF01
Canonical cloud-init<23.1.2
Canonical Ubuntu Linux=16.04
Canonical Ubuntu Linux=18.04
Canonical Ubuntu Linux=20.04
Canonical Ubuntu Linux=22.04
Canonical Ubuntu Linux=22.10
Canonical Ubuntu Linux=23.04
Fedoraproject Fedora=38
ubuntu/cloud-init<23.1.2-0ubuntu0~18.04.1
23.1.2-0ubuntu0~18.04.1
ubuntu/cloud-init<23.1.2-0ubuntu0~20.04.1
23.1.2-0ubuntu0~20.04.1
ubuntu/cloud-init<23.1.2-0ubuntu0~22.04.1
23.1.2-0ubuntu0~22.04.1
ubuntu/cloud-init<23.1.2-0ubuntu0~22.10.1
23.1.2-0ubuntu0~22.10.1
ubuntu/cloud-init<23.1.2-0ubuntu0~23.04.1
23.1.2-0ubuntu0~23.04.1
ubuntu/cloud-init<23.2<23.1.2
23.2
23.1.2
ubuntu/cloud-init<21.1-19-
21.1-19-
debian/cloud-init<=20.4.1-2+deb11u1<=22.4.2-1+deb12u1
24.2-1

Remedy

The Ubuntu update to address this attempted to redact information in /var/log/cloud-init.log and /run/cloud-init/instance-data.json. Additional logs may require the removal of sensitive information.

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Parent vulnerabilities

(Appears in the following advisories)

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203