Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreClientRegistration, Spring Security's representation of an OAuth2/OpenID Connect client registration, includes the confidential client secret in the plaintext output of its toString() method.
Because toString() is invoked implicitly by common application and framework behaviors (parameterized logging, string concatenation, exception message construction, and similar), any code path that produces such output for a ClientRegistration instance may inadvertently disclose the client secret to a destination not intended to hold client credential material.
Spring Security:
| Fix version | Availability |
|---|---|
| 7.1.3 | OSS |
| 7.1.2.1 | Enterprise Support Only |
| 7.0.9 | OSS |
| 7.0.8.1 | Enterprise Support Only |
| 6.5.13 | Enterprise Support Only |
| 6.4.20 | Enterprise Support Only |
| 5.8.29 | Enterprise Support Only |
| 5.7.27 | Enterprise Support Only |
No further mitigation steps are necessary.
The issue was identified and responsibly reported by Yu Bao from PayPal Cybersecurity Team.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy