Oracle plans to dump risky Java serialization
infoworld.com
Oracle plans to dump risky Java serialization
1–10 of 157 posts
Re: Oracle plans to dump risky Java serialization
#2Re: Oracle plans to dump risky Java serialization
#3Or maybe I'll just move on to something else anyways as I'm really rather sick of writing these syntactically crippled lambdas. The streaming stuff is almost good.
Re: Oracle plans to dump risky Java serialization
#4cool. can we kill pickle next?
Re: Oracle plans to dump risky Java serialization
#5cool. can we kill pickle next?
One of the attack vector in Java was classes storing native pointers as integer fields calling free on the above pointers in the finalizer. So the moment one can force deserialiazation of such classes one ends up with corrupted heap and trivially weponized exploits. Does pickle in Python suffer from the same problem?
> Warning
> The pickle module is not secure against erroneous or maliciously constructed data. Never unpickle data received from an untrusted or unauthenticated source.
Re: Oracle plans to dump risky Java serialization
#6I wish they would just rename it something sufficiently ominous sounding that people wouldn't think about using it on untrusted data sources.
Maybe AribitraryCodeAndDataSerialization
Re: Oracle plans to dump risky Java serialization
#7cool. can we kill pickle next?
One of the attack vector in Java was classes storing native pointers as integer fields calling free on the above pointers in the finalizer. So the moment one can force deserialiazation of such classes one ends up with corrupted heap and trivially weponized exploits. Does pickle in Python suffer from the same problem?
Re: Oracle plans to dump risky Java serialization
#8Re: Oracle plans to dump risky Java serialization
#9cool. can we kill pickle next?
One of the attack vector in Java was classes storing native pointers as integer fields calling free on the above pointers in the finalizer. So the moment one can force deserialiazation of such classes one ends up with corrupted heap and trivially weponized exploits. Does pickle in Python suffer from the same problem?
As with many of the dynamic language deserializers, such as the Ruby YAML one, for pickle it's not even an exploit or something... it's a feature of the code that it can call methods, and getting to arbitrary methods isn't that hard.