Python package "zhmcclient" stores passwords in clear text in its HMC and API logs
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
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | zhmcclient | < 1.18.1 | 1.18.1 |
Verweise
- https://github.com/zhmcclient/python-zhmcclient/security/advisories/GHSA-p57h-3cmc-xpjq
- https://nvd.nist.gov/vuln/detail/CVE-2024-53865
- https://github.com/zhmcclient/python-zhmcclient/commit/ad32781e782d0f604c6da4680fce48e4cc1f4433
- https://github.com/zhmcclient/python-zhmcclient
- https://pypi.org/project/zhmcclient
- https://github.com/advisories/GHSA-p57h-3cmc-xpjq
- CVSS-Vektor
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H- Schwäche (CWE)
CWE-312- Plattform
- Python (PyPI)
- Paket
zhmcclient- Veröffentlicht
- 02.12.2024
- Aktualisiert
- 11.10.2026 13:19
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-2073 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-p57h-3cmc-xpjq - CC BY 4.0
Schwachstellenhistorie: zhmcclient
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.