Highlights
JSON Hijacking: 1 prior fix. Scrutinize any change in this area.
gson: most-fixed (1 issue). Treat as high-risk during review.
0 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Deserialization of Untrusted Data: The writeReplace() method in internal classes allows untrusted deserialization, enabling attackers to execute Denial of Service (DoS) attacks when processing malicious serialized objects. This is tracked under CVE-2022-25647.
JSON Hijacking: Serialized JSON streams can be vulnerable to JSON hijacking if executed directly in a browser context. Preventing this requires prepending a non-executable prefix to JSON responses to block cross-site execution.