GitHub Advisoryadvisory · PyPI

GHSA-p57h-3cmc-xpjq Python package "zhmcclient" stores passwords in clear text in its HMC and API logs

MEDIUM Published 2024-12-02 Modified 2024-12-02 Official page ↗
Aliases
CVE-2024-53865
Ecosystem
PyPI
Packages
zhmcclient
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Weaknesses
CWE-312
Reviewed
2024-12-02

Affected packages

• PyPI zhmcclient: < 1.18.1 → fixed in 1.18.1

Description

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

Related

Alias · CVE (1)

  • CVE-2024-53865 zhmcclient is a pure Python client library for the IBM Z HMC Web Services API. vulnerability

Weakness · CWE (1)

  • CWE-312 Cleartext Storage of Sensitive Information weakness

References