CVE Vulnerabilities

CVE-2022-2084

Insertion of Sensitive Information into Log File

Published: Apr 19, 2023 | Modified: May 01, 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
5.5 MODERATE
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Ubuntu
MEDIUM

Sensitive data could be exposed in world readable logs of cloud-init before version 22.3 when schema failures are reported. This leak could include hashed passwords.

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 * 22.3 (excluding)
Cloud-init Ubuntu bionic *
Cloud-init Ubuntu devel *
Cloud-init Ubuntu esm-infra/bionic *
Cloud-init Ubuntu focal *
Cloud-init Ubuntu impish *
Cloud-init Ubuntu jammy *
Cloud-init Ubuntu kinetic *
Cloud-init Ubuntu upstream *

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