CVE-2023-20859 Spring Vault vulnerable to insertion of sensitive information into a log file
Attackers can read sensitive information from log files when Spring Vault revokes batch tokens, requiring an upgrade to secure the application.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-20859?
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.
Official 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.
Weakness: CWE-532
Which versions are affected by CVE-2023-20859?
4 open source packages ship an affected version, including org.springframework.vault:spring-vault-core. It affects 3 products.
| Package | Affected | Fixed in |
|---|---|---|
org.springframework.vault:spring-vault-core Maven | All versions | 2.3.3 |
org.springframework.vault:spring-vault-core Maven | All versions | 2.3.3 |
org.springframework.vault:spring-vault-core Maven | From 3.0.0 | 3.0.2 |
org.springframework.vault:spring-vault-core Maven | From 3.0.0 | 3.0.2 |
Products include Vmware Spring Cloud Config, Vmware Spring Cloud Vault, Vmware Spring Vault.
How do I fix CVE-2023-20859?
Upgrade org.springframework.vault:spring-vault-core to a fixed version for your release line: 2.3.3 or 3.0.2.
Is CVE-2023-20859 being exploited?
There is no known exploitation of CVE-2023-20859 in the wild and no public exploit code.
Other vulnerabilities in Spring Vault, Spring Cloud Vault, Spring Cloud Config
- CVE-2020-5410 VMware Tanzu Spring Cloud Config Directory Traversal
- CVE-2026-40982 Spring Cloud Config vulnerable to Path Traversal
- CVE-2026-22739 Spring Cloud Config Profile Substitution Can Allow Unintended Access To Files And Enable SSRF Attacks
- CVE-2026-40981 Spring Cloud Config has an Authorization Bypass Through User-Controlled Key
- CVE-2026-41002 Spring Cloud Config Server Susceptible To TOCTOU Attack
Sources
Also known as GHSA-r47r-87p9-8jh3.