{
  "id": "CVE-2025-30205",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-30205",
  "published_at": "2025-03-24T16:47:36.648Z",
  "title": "kanidm-provision leaks provisioned admin credentials into the system log",
  "vendor": "oddlama",
  "product": "kanidm-provision",
  "cvss": {
    "score": 7.6,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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`.",
  "cwe": "CWE-532",
  "cvss_by_source": {
    "cna": 7.6
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "oddlama",
        "product": "kanidm-provision",
        "ranges": [
          "\u003c 1.2.0"
        ],
        "fixed_in": [
          "1.2.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade kanidm-provision to 1.2.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/oddlama/kanidm-provision/security/advisories/GHSA-57fc-pcqm-53rp"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/oddlama/kanidm-provision/commit/a102b52e4a79be4263068577ba837f16c3e487a2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
