Advisory

PYSEC-2026-2073

Also known as: CVE-2024-53865, GHSA-p57h-3cmc-xpjq

Summary

Python package "zhmcclient" stores passwords in clear text in its HMC and API logs

Details

Impact

The Python package "zhmcclient" writes password-like properties in clear text into its HMC and API logs in the following cases:

  • The 'boot-ftp-password' and 'ssc-master-pw' properties when creating or updating a partition in DPM mode, in the zhmcclient API and HMC logs
  • The 'ssc-master-pw' and 'zaware-master-pw' properties when updating an LPAR in classic mode, in the zhmcclient API and HMC logs
  • The 'ssc-master-pw' and 'zaware-master-pw' properties when creating or updating an image activation profile in classic mode, in the zhmcclient API and HMC logs
  • The 'password' property when creating or updating an HMC user, in the zhmcclient API log
  • The 'bind-password' property when creating or updating an LDAP server definition, in the zhmcclient API and HMC logs

This issue affects only users of the zhmcclient package that have enabled the Python loggers named "zhmcclient.api" (for the API log) or "zhmcclient.hmc" (for the HMC log) and that use the functions listed above.

Patches

Has been fixed in zhmcclient version 1.18.1

Workarounds

Not applicable, since fix is available.

References

None

Severity

High Basis: CVSS v3 score 8.2, vector CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:48 UTC

Affected packages and fixes

zhmcclient

PyPI · All systems

Affected

  • introduced 0, fixed 1.18.1 (ecosystem)

Fixed versions

1.18.1

Fix

  • Fixed version 1.18.1
    pip install --upgrade zhmcclient==1.18.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences