{"answers":{"affected":"3 open source packages ship an affected version, including zhmcclient.","exploited":"There is no known exploitation of CVE-2024-53865 in the wild and no public exploit code.","fix":"Upgrade zhmcclient to 1.18.1 or later.","what":"CVE-2024-53865 is a high-severity vulnerability in python-zhmcclient, published on 29 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-53865 and fix it if it is affected.\n\nWhat it is: CVE-2024-53865 is a high-severity vulnerability in python-zhmcclient, published on 29 Nov 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-53865 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- zhmcclient (PyPI): affected all versions; fixed in 1.18.1\n- zhmcclient (PyPI): affected all versions; fixed in 1.18.1\n- zhmcclient (PyPI): affected all versions; fixed in 1.18.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-53865/ (Markdown: https://insights.sbomify.com/CVE-2024-53865/index.md)","id":"CVE-2024-53865","markdown":"https://insights.sbomify.com/CVE-2024-53865/index.md","name":"CVE-2024-53865","record":{"aliases":["GHSA-p57h-3cmc-xpjq","PYSEC-2026-2073"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Python client library","requires_auth":"high_privilege","summary":"The zhmcclient library logs sensitive passwords in clear text when specific logging features are enabled, exposing credentials to anyone with log access.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":8.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-312","name":"Cleartext Storage of Sensitive Information"}],"description":"zhmcclient is a pure Python client library for the IBM Z HMC Web Services API. In affected versions the Python package \"zhmcclient\" writes password-like properties in clear text into its HMC and API logs in the following cases: 1. 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. 2. The 'ssc-master-pw' and 'zaware-master-pw' properties when updating an LPAR in classic mode, in the zhmcclient API and HMC logs. 3. 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. 4. The 'password' property when creating or updating an HMC user, in the zhmcclient API log. 5. 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. This issue has been fixed in zhmcclient version 1.18.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Python package \"zhmcclient\" has passwords in clear text in its HMC and API logs","id":"CVE-2024-53865","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"pnpm vulnerable to no-script global cache poisoning via overrides / `ignore-scripts` evasion","id":"CVE-2024-53866"},"packages":[{"ecosystem":"PyPI","fixed":["1.18.1"],"introduced":["0"],"last_affected":[],"package":"zhmcclient","purl":null,"source":"GHSA-p57h-3cmc-xpjq"},{"ecosystem":"PyPI","fixed":["1.18.1"],"introduced":["0"],"last_affected":[],"package":"zhmcclient","purl":"pkg:pypi/zhmcclient","source":"GHSA-p57h-3cmc-xpjq"},{"ecosystem":"PyPI","fixed":["1.18.1"],"introduced":["0"],"last_affected":[],"package":"zhmcclient","purl":"pkg:pypi/zhmcclient","source":"PYSEC-2026-2073"}],"prev":{"headline":"Cross-site Scripting in a field that is used in the Content name pattern in ibexa/admin-ui","id":"CVE-2024-53864"},"products":["python-zhmcclient"],"published":"2024-11-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-12-02","vendors":["zhmcclient"]},"summary":"The zhmcclient library logs sensitive passwords in clear text when specific logging features are enabled, exposing credentials to anyone with log access.","url":"https://insights.sbomify.com/CVE-2024-53865/"}