{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-4840 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-4840 is a medium-severity vulnerability in Red Hat OpenStack Platform 16.2, published on 13 May 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-4840 and fix it if it is affected.\n\nWhat it is: CVE-2024-4840 is a medium-severity vulnerability in Red Hat OpenStack Platform 16.2, published on 13 May 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-4840 in the wild and no public exploit code.\n\nAffected product: Red Hat OpenStack Platform 16.2. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-4840/ (Markdown: https://insights.sbomify.com/CVE-2024-4840/index.md)","id":"CVE-2024-4840","markdown":"https://insights.sbomify.com/CVE-2024-4840/index.md","name":"CVE-2024-4840","record":{"aliases":["GHSA-m73w-f4gh-h9g2","RHSA-2024:9978"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OpenStack director","requires_auth":"low_privilege","summary":"Attackers with log access can read plaintext passwords exposed by the OpenStack director, compromising sensitive credentials.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-312","name":"Cleartext Storage of Sensitive Information"}],"description":"An flaw was found in the OpenStack Platform (RHOSP) director, a toolset for installing and managing a complete RHOSP environment. Plaintext passwords may be stored in log files, which can expose sensitive information to anyone with access to the logs.","ecosystems":["Red Hat:openstack:17.1::el9"],"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":"Rhosp-director: cleartext passwords exposed in logs","id":"CVE-2024-4840","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"information_disclosure","year":"2024"},"n_packages":1,"n_references":3,"next":{"headline":"Path Traversal in parisneo/lollms-webui","id":"CVE-2024-4841"},"packages":[{"ecosystem":"Red Hat:openstack:17.1::el9","fixed":["0:14.3.1-17.1.20240919130756.el9ost"],"introduced":["0"],"last_affected":[],"package":"openstack-tripleo-heat-templates","purl":"pkg:rpm/redhat/openstack-tripleo-heat-templates","source":"RHSA-2024:9978"}],"prev":{"headline":"CSRF in Servers Configurations in parisneo/lollms-webui","id":"CVE-2024-4839"},"products":["Red Hat OpenStack Platform 16.2","Red Hat OpenStack Platform 17.1 for RHEL 9"],"published":"2024-05-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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":"2025-11-20","vendors":["Red Hat"]},"summary":"Attackers with log access can read plaintext passwords exposed by the OpenStack director, compromising sensitive credentials.","url":"https://insights.sbomify.com/CVE-2024-4840/"}