Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreA SpEL Injection vulnerability exists in the Spring Data KeyValue if unsanitized user input is passed as Sort into a repository query method that delegates evaluation to the SpelPropertyComparator.
The application is vulnerable if all conditions below are true:
SpelPropertyComparator is used for sorting.Spring Data KeyValue:
Spring Data Redis (through Spring Data KeyValue):
Users of affected versions should upgrade to the corresponding fixed version of Spring Data KeyValue.
| Affected version(s) | Fix version | Availability |
|---|---|---|
| 4.0.x | 4.0.6 | OSS |
| 3.5.x | 3.5.12 | OSS |
| 3.4.x | 3.4.15 | Enterprise Support Only |
| 3.3.x | 3.3.17 | Enterprise Support Only |
| 2.7.x | 2.7.20 | Enterprise Support Only |
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy