Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Up-to-date guidelines for serialization-based endpoints [SPR-15317] #19880
Over the past few years, several incidents were related to exposing serialization-based endpoints to untrusted clients. We need to update our guidelines accordingly, in particular for the HTTP Invoker mechanism. While we generally recommend against Java serialization for external remoting purposes, there are some recent efforts that allow for controlled exposure there, in particular the serialization filter that recently got introduced at JDK level (https://blogs.oracle.com/java-platform-group/entry/incoming_filter_serialization_data_a).
Juergen Hoeller commented
I've revised our HTTP Invoker class-level javadocs to consistently refer to serialization vulnerabilities and added a corresponding warning to the 4.3.8 version of http://docs.spring.io/spring/docs/current/spring-framework-reference/html/remoting.html#remoting-httpinvoker, also pointing to the recently introduced serialization filter at the core JDK level.