by vesinisa · 7y ago · 0 comments
https://blog.sonatype.com/jackson-databind-remote-code-execu...
The only reliable fix is surely stopping serialization of arbitrary classes by not using or auditting any use of the DefaultTyping feature.
Curious as to what makes you think this - I was under the impression you needed to explicitly call `enableDefaultTyping` to get this unsafe behaviour. The wiki page explicitly tells you not to do this with untrusted input and the method is deprecated in the latest versions of the library.
https://github.com/FasterXML/jackson-databind/issues/2195
https://github.com/FasterXML/jackson-docs/wiki/JacksonPolymo...
Here is a much better blog by the library author themself: https://medium.com/@cowtowncoder/on-jackson-cves-dont-panic-...