GHSA-p57h-3cmc-xpjq

Suggest an improvement
Source
https://github.com/advisories/GHSA-p57h-3cmc-xpjq
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/12/GHSA-p57h-3cmc-xpjq/GHSA-p57h-3cmc-xpjq.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-p57h-3cmc-xpjq
Aliases
  • CVE-2024-53865
Published
2024-12-02T18:35:18Z
Modified
2024-12-02T18:57:19.399004Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
  • 6.2 (Medium) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H CVSS Calculator
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

Database specific
{
    "nvd_published_at": "2024-11-29T19:15:09Z",
    "cwe_ids": [
        "CWE-312"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-12-02T18:35:18Z"
}
References

Affected packages

PyPI / zhmcclient

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.18.1

Affected versions

0.*

0.1.0
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1.dev39
0.6.0
0.7.0
0.8.0
0.9.0
0.10.0
0.11.0
0.12.0
0.13.0
0.14.0
0.15.0
0.16.0
0.17.0
0.18.0
0.19.0
0.20.0
0.21.0
0.22.0
0.23.0
0.24.0
0.25.0
0.25.1
0.26.0
0.26.1
0.26.2
0.27.0
0.28.0
0.29.0
0.30.0
0.30.1
0.30.2
0.31.0
0.31.1
0.32.0
0.32.1

1.*

1.0.0
1.0.1
1.0.2
1.0.3
1.1.0
1.1.1
1.2.0
1.2.1
1.2.2
1.3.0
1.3.1
1.3.2
1.3.3
1.4.0
1.4.1
1.5.0
1.6.0
1.7.0
1.7.1
1.7.2
1.7.3
1.8.0
1.8.1
1.8.2
1.9.0
1.9.1
1.10.0
1.10.1
1.11.0
1.11.1
1.11.2
1.11.3
1.11.4
1.12.0
1.12.1
1.12.2
1.12.3
1.12.4
1.13.0
1.13.1
1.13.2
1.13.3.dev1
1.13.3
1.13.4
1.14.0
1.14.1
1.15.0
1.16.0
1.16.1
1.16.2
1.17.0
1.17.1
1.17.2
1.18.0