Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreSpring Security may not correctly locate method security annotations on parameterized types or methods. This may cause an authorization bypass.
Your application may be affected by this if the following are true:
@EnableMethodSecurity
, andIn that case, the target method may be able to be invoked without proper authorization.
You are not affected if:
@EnableMethodSecurity
, orSpring Security:
Users of affected versions should upgrade to the corresponding fixed version.
Affected version(s) | Fix version | Availability |
---|---|---|
6.4.x | 6.4.4 | OSS |
No other mitigation steps are necessary.
If you cannot upgrade, then you can either:
AuthorizationManagerBeforeMethodInterceptor
that correctly looks for annotations on parameterized types (please see a sample in the Spring Security issue log)This vulnerability was discovered and responsibly reported independently by Vasil Ilchev and Neale Upstone.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy