I am planning to use gson's fromJson() method to parse a string coming from the browser. Are there any potential vulnerabilities associated with doing that? The data type I am converting to is relatively simple, a List and a boolean. But since gson uses reflection, is there something for me to watch out for?
For example, with older jvm (pre 6.24), a DOS attack could have been used against integers, where the integer parser would hang.
Can some clever json cause gson to start loading classes it should be?