Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreThe Spring GraphQL annotation detection mechanism for @Controller data fetchers may not correctly resolve annotations on methods within type hierarchies.
This can be an issue if such annotations are used for authorization decisions.
Spring for GraphQL application are vulnerable when all the following are true:
@EnableMethodSecurity feature for security checks@Controller classes within type hierarchiesWhen all the conditions above are met, the security annotations can be ignored at runtime.
Spring for GraphQL:
Versions that are no longer supported are also affected.
Users of affected versions should upgrade to the corresponding fixed version.
| Affected version(s) | Fix version | Availability |
|---|---|---|
| 2.0.x | 2.0.4 | OSS |
| 1.4.x | 1.4.6 | OSS |
| 1.3.x | 1.3.9 | Commercial |
| 1.0.x | 1.0.7 | Commercial |
No further mitigation steps are necessary.
This vulnerability was discovered and responsibly reported by Bofei Chen.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy