Closed GoogleCodeExporter closed 9 years ago
We're susceptible to denial-of-service attacks on massive strings. I don't
think we can really work around this, since there can be many situations where
malicious input data will overwhelm a system. For example, an unterminated
stream. Or very high magnitude numbers.
If you absolutely need to accept JSON from an untrusted source, sanitize it in
a separate Java process. Give that process a fixed small memory ceiling, and
run the parse with a short timeout.
Original comment by limpbizkit
on 27 Aug 2010 at 7:38
Original issue reported on code.google.com by
Enrique....@gmail.com
on 26 May 2010 at 6:02