Medium severity · published Apr 26, 2023
CVE-2023-1786
Sensitive data could be exposed in logs of cloud-init before version 23.1.2
5.5
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 18% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CL
Cloud-init · Canonical
before 23.1.2 · source: NVD
FE
Fedora · Fedoraproject
38 · source: NVD
UL
Ubuntu Linux · Canonical
16.04; 18.04; 20.04; 22.04; 22.10; 23.04 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-1786
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-1786
Issue Tracking
https://bugs.launchpad.net/cloud-init/+bug/2013967
Patch
https://github.com/canonical/cloud-init/commit/a378b7e4f47375458651c0972e7cd813f6fe0a6b
Mailing List
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ATBJSXPL2IOAD2LDQRKWPLIC7QXS44GZ/
Third Party Advisory
https://ubuntu.com/security/notices/USN-6042-1
More from Cloud-init
8.8
CVE-2024-6174
When a non-x86 platform is detected, cloud-init grants root access to a hardcoded url with a local IP address
8.8
CVE-2012-6639
An privilege elevation vulnerability exists in Cloud-init before 0.7.0 when requests to an untrusted system are submitted for EC2 instance data
7.1
CVE-2018-10896
The default cloud-init configuration, in cloud-init 0.6.2 and newer, included "ssh_deletekeys: 0", disabling cloud-init's deletion of ssh host keys
5.5
CVE-2022-2084
Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported
5.5
CVE-2021-3429
When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file…
