CVE-2023-1786
CVE-2023-1786 is a medium-severity vulnerability in Canonical Cloud-init with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-532.
Key facts
- Severity: Medium (CVSS 3.x base score 5.5)
- EPSS exploit prediction: 0% (18th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-532
- Affected product: Canonical Cloud-init
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2023-1786?
- 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.
- How severe is CVE-2023-1786?
- CVE-2023-1786 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2023-1786 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (18th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2023-1786?
- CVE-2023-1786 primarily affects Canonical Cloud-init. In total, 8 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2023-1786?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2023-1786 published?
- CVE-2023-1786 was published on 2023-04-26 and last updated on 2026-06-17.
References
- https://bugs.launchpad.net/cloud-init/+bug/2013967
- https://github.com/canonical/cloud-init/commit/a378b7e4f47375458651c0972e7cd813f6fe0a6b
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ATBJSXPL2IOAD2LDQRKWPLIC7QXS44GZ/
- https://ubuntu.com/security/notices/USN-6042-1
Affected products (8)
- cpe:2.3:a:canonical:cloud-init:*:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:esm:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:22.10:*:*:*:-:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:23.04:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
More vulnerabilities in Canonical Cloud-init
- CVE-2024-6174 — High (CVSS 8.8): When a non-x86 platform is detected, cloud-init grants root access to a hardcoded url with a local IP address. To…
- CVE-2012-6639 — High (CVSS 8.8): An privilege elevation vulnerability exists in Cloud-init before 0.7.0 when requests to an untrusted system are…
- CVE-2018-10896 — High (CVSS 7.1): The default cloud-init configuration, in cloud-init 0.6.2 and newer, included "ssh_deletekeys: 0", disabling…
- CVE-2024-11584 — Medium (CVSS 5.9): cloud-init through 25.1.2 includes the systemd socket unit cloud-init-hotplugd.socket with default SocketMode that…
- CVE-2022-2084 — Medium (CVSS 5.5): Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are…
- CVE-2021-3429 — Medium (CVSS 5.5): When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that…
All CVEs affecting Canonical Cloud-init →
Other CWE-532 (Insertion of Sensitive Information into Log File) vulnerabilities
- CVE-2022-36407 — Critical (CVSS 9.9): Insertion of Sensitive Information into Log File vulnerability in Hitachi Virtual Storage Platform, Hitachi Virtual…
- CVE-2023-40029 — Critical (CVSS 9.9): Argo CD is a declarative continuous deployment for Kubernetes. Argo CD Cluster secrets might be managed declaratively…
- CVE-2021-32724 — Critical (CVSS 9.9): check-spelling is a github action which provides CI spell checking. In affected versions and for a repository with the…
- CVE-2026-49200 — Critical (CVSS 9.8): The acer_cgi.log file in the device firmware is accessible without authentication via the web interface. This file…
- CVE-2026-22778 — Critical (CVSS 9.8): vLLM is an inference and serving engine for large language models (LLMs). From 0.8.3 to before 0.14.1, when an invalid…
- CVE-2025-11008 — Critical (CVSS 9.8): The CE21 Suite plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and…
Browse all CWE-532 (Insertion of Sensitive Information into Log File) vulnerabilities →