Closed juan-palacios closed 3 years ago
Thanks for reporting the issue. Which versions of Spring Cloud Open Service Broker and Spring Boot are you using?
@royclarkson Spring Boot 2.4.3 and Spring Cloud 3.3.0
Thanks for the info. Spring Boot 2.4.3 manages the version of Jackson to 2.11.4. We test with the Spring Boot managed versions of dependencies in this project as well, and have not tested with the newer version of Jackson. Do you have a specific reason to manage Jackson to a newer version?
We are updating our libraries regularly to get latest features and bugfixes. I think in this instance there was a CVE that got raised and we were trying to bump to the latest which is not affected (I think this one CVE: 2020-28491?)
Thanks. Indeed, that's a good reason to upgrade. :)
FYI, Jackson 2.11.4 is not vulnerable to that CVE.
@royclarkson We are facing same issue in spring boot 2.5.3 version with jackson 2.12.4. And i see that Spring Boot 2.5.x manages the version of Jackson to 2.12.4. Can we know why is it happenning ?
@akheel96 there were changes in that version of Jackson. We'll need to release a Boot 2.5 compatibility update. See #327.
That commit message should be Boot 2.5.5 (not 3.5.5). Apologies for the confusion.
There seems to be a compatibility issue between Spring Cloud Open Service Broker and Jackson
After upgrading Jackson to 2.12.2 we are seeing:
I managed to fix the issue by adding a
MixIn
:I also had to replace the swagger converters for Spring Doc because they hard-code the
ObjectMapper
: