{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.geode:geode-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-34797 in the wild and no public exploit code.","fix":"Upgrade org.apache.geode:geode-core to a fixed version for your release line: 1.12.5 or 1.13.5.","what":"CVE-2021-34797 is a high-severity vulnerability in Apache Geode, published on 4 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-34797 and fix it if it is affected.\n\nWhat it is: CVE-2021-34797 is a high-severity vulnerability in Apache Geode, published on 4 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-34797 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.geode:geode-core (Maven): affected all versions; fixed in 1.12.5\n- org.apache.geode:geode-core (Maven): affected all versions; fixed in 1.12.5\n- org.apache.geode:geode-core (Maven): affected from 1.13.0; fixed in 1.13.5\n- org.apache.geode:geode-core (Maven): affected from 1.13.0; fixed in 1.13.5\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-2021-34797/ (Markdown: https://insights.sbomify.com/CVE-2021-34797/index.md)","id":"CVE-2021-34797","markdown":"https://insights.sbomify.com/CVE-2021-34797/index.md","name":"CVE-2021-34797","record":{"aliases":["GHSA-mw25-f5r2-hpc6"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Geode","requires_auth":"none","summary":"Attackers can read sensitive passwords and security properties from log files due to improper redaction in Apache Geode.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"geode","vendor":"apache"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"Apache Geode versions up to 1.12.4 and 1.13.4 are vulnerable to a log file redaction of sensitive information flaw when using values that begin with characters other than letters or numbers for passwords and security properties with the prefix \"sysprop-\", \"javax.net.ssl\", or \"security-\". This issue is fixed by overhauling the log file redaction in Apache Geode versions 1.12.5, 1.13.5, and 1.14.0.","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":true,"headline":"Apache Geode project log file redaction of sensitive information vulnerability","id":"CVE-2021-34797","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2021"},"n_packages":4,"n_references":2,"next":{"headline":"NULL pointer dereference in httpd core","id":"CVE-2021-34798"},"packages":[{"ecosystem":"Maven","fixed":["1.12.5"],"introduced":["0"],"last_affected":[],"package":"org.apache.geode:geode-core","purl":null,"source":"GHSA-mw25-f5r2-hpc6"},{"ecosystem":"Maven","fixed":["1.12.5"],"introduced":["0"],"last_affected":[],"package":"org.apache.geode:geode-core","purl":"pkg:maven/org.apache.geode/geode-core","source":"GHSA-mw25-f5r2-hpc6"},{"ecosystem":"Maven","fixed":["1.13.5"],"introduced":["1.13.0"],"last_affected":[],"package":"org.apache.geode:geode-core","purl":null,"source":"GHSA-mw25-f5r2-hpc6"},{"ecosystem":"Maven","fixed":["1.13.5"],"introduced":["1.13.0"],"last_affected":[],"package":"org.apache.geode:geode-core","purl":"pkg:maven/org.apache.geode/geode-core","source":"GHSA-mw25-f5r2-hpc6"}],"prev":{"headline":"Cisco Catalyst PON Series Switches Optical Network Terminal Vulnerabilities","id":"CVE-2021-34795"},"products":["Apache Geode"],"published":"2022-01-04","related":[{"cvss_score":9.8,"headline":"Apache Tomcat Improper Privilege Management","id":"CVE-2020-1938","kev_date_added":"2022-03-03","published":"2020-02-24"},{"cvss_score":7.8,"headline":"Docker Desktop Community Edition Privilege Escalation","id":"CVE-2019-15752","kev_date_added":"2021-11-03","published":"2019-08-28"},{"cvss_score":9.8,"headline":"Apache Geode deserialization of untrusted data flaw when using JMX over RMI on Java 8.","id":"CVE-2022-37021","kev_date_added":null,"published":"2022-08-31"},{"cvss_score":9.8,"headline":"Supply chain in docker.io","id":"CVE-2014-0048","kev_date_added":null,"published":"2020-01-02"},{"cvss_score":9.8,"headline":"Apache Geode unsafe deserialization in TcpServer","id":"CVE-2017-15692","kev_date_added":null,"published":"2018-02-27"},{"cvss_score":8.8,"headline":"Apache Geode: CSRF attacks through GET requests to the Management and Monitoring REST API that can execute gfsh commands on the target system","id":"CVE-2025-47410","kev_date_added":null,"published":"2025-10-18"},{"cvss_score":8.8,"headline":"Apache Geode deserialization of untrusted data flaw when using JMX over RMI on Java 11","id":"CVE-2022-37022","kev_date_added":null,"published":"2022-08-31"}],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Apache Software Foundation"]},"summary":"Attackers can read sensitive passwords and security properties from log files due to improper redaction in Apache Geode.","url":"https://insights.sbomify.com/CVE-2021-34797/"}