CVE-2025-30205 HIGH

CVE-2025-30205: kanidm-provision leaks provisioned admin credentials into the system log

Vendor Oddlama
Product kanidm-provision
Weakness CWE-532 · Sensitive info in logs
Published March 24, 2025
Last update March 24, 2025

CVSS base score

7.6/10
Attack vector Network
Attack complexity Low
Privileges required High
User interaction None
Confidentiality Low
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:N

What the vulnerability does

01Description

kanidim-provision is a helper utility that uses kanidm's 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`.

Key dates

02Disclosure timeline

March 24, 2025 CVE published
March 24, 2025 Record updated