Vulnerability · Published Apr 26, 2023 · Assigned by canonical
CVE-2023-1786sensitive data exposure in cloud-init logs
Medium 5.5
In plain English
A medium-severity sensitive data in logs in cloud-init from Canonical Ltd.. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 18% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.3%top 81.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | cloud-init | 23.1.1-10.el8.alma.1 | ALSA-2023:6943 |
| AlmaLinux:9 | cloud-init | 23.1.1-11.el9.alma.1 | ALSA-2023:6371 |
| Alpine:v3.20 | cloud-init | 23.1.2-r0 | ALPINE-CVE-2023-1786 |
| Alpine:v3.21 | cloud-init | 23.1.2-r0 | ALPINE-CVE-2023-1786 |
| Alpine:v3.22 | cloud-init | 23.1.2-r0 | ALPINE-CVE-2023-1786 |
| Alpine:v3.23 | cloud-init | 23.1.2-r0 | ALPINE-CVE-2023-1786 |
| Alpine:v3.24 | cloud-init | 23.1.2-r0 | ALPINE-CVE-2023-1786 |
| Debian:12 | cloud-init | no fix listed | DEBIAN-CVE-2023-1786 |
| Debian:13 | cloud-init | 23.2-1 | DEBIAN-CVE-2023-1786 |
| Debian:14 | cloud-init | 23.2-1 | DEBIAN-CVE-2023-1786 |
| Ubuntu:22.04:LTS | cloud-init | 23.1.2-0ubuntu0~22.04.1 | USN-6042-1 |
| Ubuntu:22.04:LTS | cloud-init | 23.1.2-0ubuntu0~22.04.1 | UBUNTU-CVE-2023-1786 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Canonical Ltd. | cloud-init | 0 – before 23.1.2 |
Weakness: CWE-532 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/canonical/cloud-init/commit/a378b7e4f47375458651c0972e7cd813f6fe0a6b patch
- https://bugs.launchpad.net/cloud-init/+bug/2013967 issue-tracking
- https://ubuntu.com/security/notices/USN-6042-1 vendor-advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ATBJSXPL2IOAD2LDQRKWPLIC7QXS44GZ/