Reputation: 100
The Spring Boot 2.1.1 managed version of Jackson is 2.9.7 which is superseded by Jackson 2.9.8. Our build is reporting exploitable vulnerabilities related to the older Jackson version.
If this point change in the managed dependency version cannot be accommodated promptly by Spring, is there a property I can set to force the version bump in my build.gradle
?
Upvotes: 0
Views: 436
Reputation: 33151
Yes there is and it is even documented:
To customize a managed version you set its corresponding property.
To customize Jackson, you can add the following to your build:
ext['jackson.version'] = '2.9.8'
Jackson 2.9.8 has been upgraded and will be available as of 2.0.8.RELEASE
due next week.
Upvotes: 1