6 ms·
I want to learn, can you elaborate?
by nur0n 8y ago
I want to learn, can you elaborate?
- devoply 8y agohttps://dzone.com/articles/jdk-11-beginning-of-the-end-for-java-serialization https://dzone.com/articles/jdk-11-beginning-of-the-end-for-j...
- fulafel 8y agoJava's deserialization will instantiate any classes that the data tells it to, which in practice leads to myriad vulnerabilities as many classes have constructors that can be used to write files, execute shell commands, etc. Many programmers didn't realize this, and bad things happened. This is a classic example: https://www.cvedetails.com/cve/CVE-2015-7501/ https://www.cvedetails.com/cve/CVE-2015-7501/ (Many more can be found under the CWE-502 "Deserialization of Untrusted Data" category)