CVE Vulnerabilities

CVE-2025-30205

Insertion of Sensitive Information into Log File

Published: Mar 24, 2025 | Modified: Mar 24, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

kanidim-provision is a helper utility that uses kanidms API to provision users, groups and oauth2 systems. Prior to version 1.2.0, a faulty function intrumentation in the (optional) kanidm patches provided by kandim-provision will cause the provisioned admin credentials to be leaked to the system log. This only impacts users which both use the provided patches and provision their admin or idm_admin account credentials this way. No other credentials are affected. Users should recompile kanidm with the newest patchset from tag v1.2.0 or higher. As a workaround, the user can set the log level KANIDM_LOG_LEVEL to any level higher than info, for example warn.

Weakness

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

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