{"answers":{"affected":"2 open source packages ship an affected version, including org.infinispan:infinispan-cli-client. It affects 4 products.","exploited":"There is no known exploitation of CVE-2025-5731 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2025-5731 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-5731 is a medium-severity vulnerability in Redhat Jboss Enterprise Application Platform, published on 26 Jun 2025. 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-2025-5731 and fix it if it is affected.\n\nWhat it is: CVE-2025-5731 is a medium-severity vulnerability in Redhat Jboss Enterprise Application Platform, published on 26 Jun 2025. 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-2025-5731 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.infinispan:infinispan-cli-client (Maven): affected all versions up to 16.0.0.Dev01; no fix listed\n- org.infinispan:infinispan-cli-client (Maven): affected all versions up to 16.0.0.Dev01; no fix listed\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-2025-5731/ (Markdown: https://insights.sbomify.com/CVE-2025-5731/index.md)","id":"CVE-2025-5731","markdown":"https://insights.sbomify.com/CVE-2025-5731/index.md","name":"CVE-2025-5731","record":{"aliases":["GHSA-cqm8-rg2p-jfcf"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Infinispan CLI","requires_auth":"low_privilege","summary":"Attackers can view sensitive Kubernetes secret passwords in plaintext via error messages when executing invalid commands in the Infinispan CLI.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"infinispan","vendor":"infinispan"},{"product":"data_grid","vendor":"redhat"},{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"jboss_enterprise_application_platform_expansion_pack","vendor":"redhat"}],"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-209","name":"Generation of Error Message Containing Sensitive Information"}],"description":"A flaw was found in Infinispan CLI. A sensitive password, decoded from a Base64-encoded Kubernetes secret, is processed in plaintext and included in a command string that may expose the data in an error message when a command is not found.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Infinispan: credential leakage in infinispan cli","id":"CVE-2025-5731","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"redhat:jboss_enterprise_application_platform","products":["redhat:jboss_enterprise_application_platform"],"type":"information_disclosure","year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"code-projects Traffic Offense Reporting System cross-site request forgery","id":"CVE-2025-5732"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["16.0.0.Dev01"],"package":"org.infinispan:infinispan-cli-client","purl":null,"source":"GHSA-cqm8-rg2p-jfcf"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["16.0.0.Dev01"],"package":"org.infinispan:infinispan-cli-client","purl":"pkg:maven/org.infinispan/infinispan-cli-client","source":"GHSA-cqm8-rg2p-jfcf"}],"prev":{"headline":"Easy Contact Form Lite \u003c 1.1.29 - Contributor+ Stored XSS","id":"CVE-2025-5730"},"products":["Red Hat Data Grid 8.5.4","Red Hat JBoss Enterprise Application Platform 7","Red Hat JBoss Enterprise Application Platform 8","Red Hat JBoss Enterprise Application Platform Expansion Pack","infinispan"],"published":"2025-06-26","related":[{"cvss_score":8.8,"headline":"Deserialization of Untrusted Data in Infinispan","id":"CVE-2018-1131","kev_date_added":null,"published":"2018-05-15"},{"cvss_score":8.8,"headline":"Deserialization of Untrusted Data in Infinispan","id":"CVE-2017-15089","kev_date_added":null,"published":"2018-02-15"},{"cvss_score":7.5,"headline":"Use of Externally-Controlled Input to Select Classes or Code in Infinispan","id":"CVE-2019-10174","kev_date_added":null,"published":"2019-11-25"},{"cvss_score":7.2,"headline":"Infinispan: credentials returned from configuration as clear text","id":"CVE-2023-5384","kev_date_added":null,"published":"2023-12-18"},{"cvss_score":6.5,"headline":"Infispan: rest bulk ops don't check permissions","id":"CVE-2023-3628","kev_date_added":null,"published":"2023-12-18"},{"cvss_score":6.5,"headline":"Improper Access Control in infinispan-server-runtime","id":"CVE-2020-25711","kev_date_added":null,"published":"2020-12-03"},{"cvss_score":6.5,"headline":"Infinispan Rest API Does Not Enforce Auth Constraints","id":"CVE-2017-2638","kev_date_added":null,"published":"2018-07-16"}],"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":"US public information, NVD API terms","name":"NVD"},{"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":"2026-01-08","vendors":["Red Hat"]},"summary":"Attackers can view sensitive Kubernetes secret passwords in plaintext via error messages when executing invalid commands in the Infinispan CLI.","url":"https://insights.sbomify.com/CVE-2025-5731/"}