cve.bz

CVE-2023-1786

5.5 mediumEPSS 0.3%Fix available

Medium (5.5). EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 18th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-01-31. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-532 Insertion of Sensitive Information into Log File
OWASP Top 10
A09:2025 Logging & Alerting Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-1786 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-1786?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-1786?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-1786 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Canonical Ltd. cloud-initbefore 23.1.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12cloud-initno fix listedDEBIAN-CVE-2023-1786
Debian13, 14cloud-init23.2-1DEBIAN-CVE-2023-1786
Ubuntu18.04:LTScloud-init23.1.2-0ubuntu0~18.04.1UBUNTU-CVE-2023-1786 USN-6042-1
Ubuntu20.04:LTScloud-init23.1.2-0ubuntu0~20.04.1UBUNTU-CVE-2023-1786 USN-6042-1
Ubuntu22.04:LTScloud-init23.1.2-0ubuntu0~22.04.1UBUNTU-CVE-2023-1786 USN-6042-1
UbuntuPro:16.04:LTScloud-init21.1-19-gbad84ad4-0ubuntu1~16.04.4UBUNTU-CVE-2023-1786 USN-6042-1
Red Hatenterprise_linux:8::appstreamcloud-init0:23.1.1-10.el8RHSA-2023:6943
Red Hatenterprise_linux:9::appstreamcloud-init0:23.1.1-11.el9RHSA-2023:6371
SUSELinux Enterprise Module for Public Cloud 12cloud-init20.2-37.57.1SUSE-SU-2023:2164-1
SUSELinux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3 and 2 morecloud-init23.1-150100.8.63.5SUSE-SU-2023:2628-1
SUSELinux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3 and 2 morecloud-init23.1-150100.8.66.1SUSE-FU-2023:3283-1
SUSELinux Enterprise Module for Public Cloud 15 SP1, Linux Enterprise Module for Public Cloud 15 SP2, Linux Enterprise Module for Public Cloud 15 SP3 and 2 morecloud-init23.3-150100.8.71.1SUSE-SU-2024:0128-1
SUSELinux Micro 6.0cloud-init25.1.3-1.1SUSE-SU-2025:20656-1
SUSELinux Micro 6.1cloud-init25.1.3-slfo.1.1_1.1SUSE-SU-2025:20755-1
openSUSELeap 15.4, Leap 15.5cloud-init23.1-150100.8.63.5SUSE-SU-2023:2628-1
openSUSELeap 15.4, Leap 15.5cloud-init23.1-150100.8.66.1SUSE-FU-2023:3283-1
openSUSELeap 15.4, Leap 15.5cloud-init23.3-150100.8.71.1SUSE-SU-2024:0128-1
openSUSETumbleweedcloud-init23.1-2.1openSUSE-SU-2024:13053-1
AlmaLinux8cloud-init23.1.1-10.el8.alma.1ALSA-2023:6943
AlmaLinux9cloud-init23.1.1-11.el9.alma.1ALSA-2023:6371
Alpinev3.18, v3.19, v3.20 and 4 morecloud-init23.1.2-r0ALPINE-CVE-2023-1786
Azure Linux2cloud-init22.4-3AZL-26342

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8cloud-init-0:23.1.1-10.el8Fixed 2023-11-14RHSA-2023:6943
Red Hat Enterprise Linux 9cloud-init-0:23.1.1-11.el9Fixed 2023-11-07RHSA-2023:6371
Red Hat Enterprise Linux 6cloud-initOut of support scope
Red Hat Enterprise Linux 7cloud-initOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-1786.

Attack patterns (CAPEC)

  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON