2 ms·
The problem is historical serialization APIs that date to before people really thought about deserialising as an attack vector. All the big/enterprises serializ
by olliej 5y ago
The problem is historical serialization APIs that date to before people really thought about deserialising as an attack vector. All the big/enterprises serialization APIs of the era made the same mistake (and later on added layers to allow the developer to limit the set of classes that could be instantiated)
Modern serialization frameworks all seem to have moved to a no-polymorphic instantiations model. Eg when deserialising a field of type X, they will only deserialise into an X.