CVE-2023-20859 Spring Vault vulnerable to insertion of sensitive information into a log file

Medium 5.5 Published Updated

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.

PackageAffectedFixed in
org.springframework.vault:spring-vault-core MavenAll versions2.3.3
org.springframework.vault:spring-vault-core MavenAll versions2.3.3
org.springframework.vault:spring-vault-core MavenFrom 3.0.03.0.2
org.springframework.vault:spring-vault-core MavenFrom 3.0.03.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.

Sources

Also known as GHSA-r47r-87p9-8jh3.

Is CVE-2023-20859 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free