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

EcosystemPackageFixed inAdvisory
AlmaLinux:8cloud-init23.1.1-10.el8.alma.1ALSA-2023:6943
AlmaLinux:9cloud-init23.1.1-11.el9.alma.1ALSA-2023:6371
Alpine:v3.20cloud-init23.1.2-r0ALPINE-CVE-2023-1786
Alpine:v3.21cloud-init23.1.2-r0ALPINE-CVE-2023-1786
Alpine:v3.22cloud-init23.1.2-r0ALPINE-CVE-2023-1786
Alpine:v3.23cloud-init23.1.2-r0ALPINE-CVE-2023-1786
Alpine:v3.24cloud-init23.1.2-r0ALPINE-CVE-2023-1786
Debian:12cloud-initno fix listedDEBIAN-CVE-2023-1786
Debian:13cloud-init23.2-1DEBIAN-CVE-2023-1786
Debian:14cloud-init23.2-1DEBIAN-CVE-2023-1786
Ubuntu:22.04:LTScloud-init23.1.2-0ubuntu0~22.04.1USN-6042-1
Ubuntu:22.04:LTScloud-init23.1.2-0ubuntu0~22.04.1UBUNTU-CVE-2023-1786

Affected products (as reported)

VendorProductVersions
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