Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreIn Spring Security, an application is possible vulnerable to broken access control when it directly uses the AuthenticatedVoter#vote passing a null Authentication parameter.
Specifically, an application is vulnerable if:
AuthenticatedVoter directly and a null authentication parameter is passed to it resulting in an erroneous true return value.An application is not vulnerable if any of the following is true:
AuthenticatedVoter#vote directly.null to AuthenticatedVoter#vote.Note that AuthenticatedVoter is deprecated since 5.8, use implementations of AuthorizationManager as a replacement.
Spring Security:
| Fix version | Availability |
|---|---|
| 6.2.3 | OSS |
| 6.1.8 | OSS |
| 6.0.10 | Enterprise Support Only |
| 5.8.11 | OSS |
| 5.7.12 | OSS |
No further mitigation steps are necessary.
The issue was identified and responsibly reported by pwnull (https://github.com/pwnull).
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy