CVEfocus › CVE database › CVE-2023-1786

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

CVSS 5.5 MediumEPSS 0.3% (higher than 20% of CVEs)Published 2023-04-26Updated 2025-02-13Assigner: canonical

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.

CWE-532

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

16Fixed
3Fix pending
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04cloud-initFixed23.1.2-0ubuntu0~22.04.1UBUNTU-CVE-2023-1786
Ubuntu 20.04cloud-initFixed23.1.2-0ubuntu0~20.04.1UBUNTU-CVE-2023-1786
Ubuntu 18.04cloud-initFixed23.1.2-0ubuntu0~18.04.1UBUNTU-CVE-2023-1786
Ubuntu 16.04cloud-initFix pending21.1-19-gbad84ad4-0ubuntu1~16.04.4 (Ubuntu Pro)UBUNTU-CVE-2023-1786
Ubuntu 14.04cloud-initFix pending
Debian 14cloud-initFixed23.2-1DEBIAN-CVE-2023-1786
Debian 13cloud-initFixed23.2-1DEBIAN-CVE-2023-1786
Debian 12cloud-initFix pendingDEBIAN-CVE-2023-1786
Red Hat Enterprise Linux 9cloud-initFixed0:23.1.1-11.el9RHSA-2023:6371
Red Hat Enterprise Linux 8cloud-initFixed0:23.1.1-10.el8RHSA-2023:6943
Red Hat Enterprise Linux 7cloud-initWill not fix
Out of support scope
Red Hat Enterprise Linux 6cloud-initWill not fix
Out of support scope
AlmaLinux 9cloud-initFixed23.1.1-11.el9.alma.1ALSA-2023:6371
AlmaLinux 8cloud-initFixed23.1.1-10.el8.alma.1ALSA-2023:6943
Alpine Linux 3.24cloud-initFixed23.1.2-r0ALPINE-CVE-2023-1786
Alpine Linux 3.23cloud-initFixed23.1.2-r0ALPINE-CVE-2023-1786
Alpine Linux 3.22cloud-initFixed23.1.2-r0ALPINE-CVE-2023-1786
Alpine Linux 3.21cloud-initFixed23.1.2-r0ALPINE-CVE-2023-1786
Alpine Linux 3.20cloud-initFixed23.1.2-r0ALPINE-CVE-2023-1786
Alpine Linux 3.19cloud-initFixed23.1.2-r0ALPINE-CVE-2023-1786
Alpine Linux 3.18cloud-initFixed23.1.2-r0ALPINE-CVE-2023-1786

What the vendor says

As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.