Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreIn Spring Vault, an application is vulnerable to insertion of sensitive information into a log file when it attempts to revoke a Vault batch token.
Specifically, an application is vulnerable when all of the following are true:
LifecycleAwareSessionManager in an imperative-only arrangement.LifecycleAwareSessionManager.destroy() is called by the application or the application shutdown hookLifecycleAwareSessionManager or org.springframework.vault.authentication is set at least to WARN or a more detailed logging level.An application is not vulnerable if any of the following is true:
ReactiveSessionManager in a mixed reactive/imperative or reactive-only arrangement.LifecycleAwareSessionManager.destroy() is never called by the application or the application shutdown hookLifecycleAwareSessionManager or org.springframework.vault.authentication is set to ERROR or higher, such as OFF.Spring Vault:
| Fix version | Availability |
|---|---|
| 3.0.2 | OSS |
| 2.3.3 | OSS |
All other users should either use service tokens or increase the logging level to at least ERROR for the org.springframework.vault.authentication.LifecycleAwareSessionManager logger.
No other steps are necessary.
This issue was identified and responsibly reported by Martin Kiesel.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy