CVE Vulnerabilities

CVE-2023-1786

Insertion of Sensitive Information into Log File

Published: Apr 26, 2023 | Modified: May 08, 2023
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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.

Weakness

Information written to log files can be of a sensitive nature and give valuable guidance to an attacker or expose sensitive user information.

Affected Software

Name Vendor Start Version End Version
Cloud-init Canonical * 23.1.2 (excluding)
Ubuntu_linux Canonical 16.04 (including) 16.04 (including)
Ubuntu_linux Canonical 18.04 (including) 18.04 (including)
Ubuntu_linux Canonical 20.04 (including) 20.04 (including)
Ubuntu_linux Canonical 22.04 (including) 22.04 (including)
Ubuntu_linux Canonical 22.10 (including) 22.10 (including)
Ubuntu_linux Canonical 23.04 (including) 23.04 (including)

Extended Description

While logging all information may be helpful during development stages, it is important that logging levels be set appropriately before a product ships so that sensitive user data and system information are not accidentally exposed to potential attackers. Different log files may be produced and stored for:

Potential Mitigations

References