{"answers":{"affected":"4 open source packages ship an affected version, including org.springframework.vault:spring-vault-core. It affects 3 products.","exploited":"There is no known exploitation of CVE-2023-20859 in the wild and no public exploit code.","fix":"Upgrade org.springframework.vault:spring-vault-core to a fixed version for your release line: 2.3.3 or 3.0.2.","what":"CVE-2023-20859 is a medium-severity vulnerability in Spring Vault, Spring Cloud Vault, Spring Cloud Config, published on 23 Mar 2023. 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-2023-20859 and fix it if it is affected.\n\nWhat it is: CVE-2023-20859 is a medium-severity vulnerability in Spring Vault, Spring Cloud Vault, Spring Cloud Config, published on 23 Mar 2023. 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-2023-20859 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.vault:spring-vault-core (Maven): affected all versions; fixed in 2.3.3\n- org.springframework.vault:spring-vault-core (Maven): affected all versions; fixed in 2.3.3\n- org.springframework.vault:spring-vault-core (Maven): affected from 3.0.0; fixed in 3.0.2\n- org.springframework.vault:spring-vault-core (Maven): affected from 3.0.0; fixed in 3.0.2\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-2023-20859/ (Markdown: https://insights.sbomify.com/CVE-2023-20859/index.md)","id":"CVE-2023-20859","markdown":"https://insights.sbomify.com/CVE-2023-20859/index.md","name":"CVE-2023-20859","record":{"aliases":["GHSA-r47r-87p9-8jh3"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java Vault library","requires_auth":"low_privilege","summary":"Attackers can read sensitive information from log files when Spring Vault revokes batch tokens, requiring an upgrade to secure the application.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[{"product":"spring_cloud_config","vendor":"vmware"},{"product":"spring_cloud_vault","vendor":"vmware"},{"product":"spring_vault","vendor":"vmware"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","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-532","name":"Insertion of Sensitive Information into Log File"}],"description":"In Spring Vault, versions 3.0.x prior to 3.0.2 and versions 2.3.x prior to 2.3.3 and older versions, an application is vulnerable to insertion of sensitive information into a log file when it attempts to revoke a Vault batch token.","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":"Spring Vault vulnerable to insertion of sensitive information into a log file","id":"CVE-2023-20859","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":4,"n_references":1,"next":{"headline":"Spring Framework is vulnerable to security bypass via mvcRequestMatcher pattern mismatch","id":"CVE-2023-20860"},"packages":[{"ecosystem":"Maven","fixed":["2.3.3"],"introduced":["0"],"last_affected":[],"package":"org.springframework.vault:spring-vault-core","purl":null,"source":"GHSA-r47r-87p9-8jh3"},{"ecosystem":"Maven","fixed":["2.3.3"],"introduced":["0"],"last_affected":[],"package":"org.springframework.vault:spring-vault-core","purl":"pkg:maven/org.springframework.vault/spring-vault-core","source":"GHSA-r47r-87p9-8jh3"},{"ecosystem":"Maven","fixed":["3.0.2"],"introduced":["3.0.0"],"last_affected":[],"package":"org.springframework.vault:spring-vault-core","purl":null,"source":"GHSA-r47r-87p9-8jh3"},{"ecosystem":"Maven","fixed":["3.0.2"],"introduced":["3.0.0"],"last_affected":[],"package":"org.springframework.vault:spring-vault-core","purl":"pkg:maven/org.springframework.vault/spring-vault-core","source":"GHSA-r47r-87p9-8jh3"}],"prev":{"headline":"Code injection in VMware Carbon Black App Control","id":"CVE-2023-20858"},"products":["Spring Vault, Spring Cloud Vault, Spring Cloud Config"],"published":"2023-03-23","related":[{"cvss_score":7.5,"headline":"VMware Tanzu Spring Cloud Config Directory Traversal","id":"CVE-2020-5410","kev_date_added":"2022-03-25","published":"2020-06-02"},{"cvss_score":9.1,"headline":"Spring Cloud Config vulnerable to Path Traversal","id":"CVE-2026-40982","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":8.6,"headline":"Spring Cloud Config Profile Substitution Can Allow Unintended Access To Files And Enable SSRF Attacks","id":"CVE-2026-22739","kev_date_added":null,"published":"2026-03-24"},{"cvss_score":7.5,"headline":"Spring Cloud Config has an Authorization Bypass Through User-Controlled Key","id":"CVE-2026-40981","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":7.4,"headline":"Spring Cloud Config Server Susceptible To TOCTOU Attack","id":"CVE-2026-41002","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":7.2,"headline":"Spring Cloud Config Server Susceptible To TOCTOU Attack When Using SVN","id":"CVE-2026-47836","kev_date_added":null,"published":"2026-08-26"},{"cvss_score":6.8,"headline":"Spring Cloud Config Server Monitor Endpoint Does Not Validate Webhook Requests","id":"CVE-2026-47837","kev_date_added":null,"published":"2026-08-26"}],"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":"2025-02-25","vendors":["n/a"]},"summary":"Attackers can read sensitive information from log files when Spring Vault revokes batch tokens, requiring an upgrade to secure the application.","url":"https://insights.sbomify.com/CVE-2023-20859/"}