Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

apache/fory
main @ db29712
20
Fixes
4
CVEs
CRITICAL
Peak severity
35.0%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
Serialization: most-fixed (2 issues). Treat as high-risk during review.
18 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.

Insecure Deserialization: The Python implementation previously fell back to pickle/cloudpickle when deserializing unsupported types. This fallback allowed complete arbitrary code execution when processing untrusted payloads, as tracked in CVE-2025-61622.
Auth Bypass: Type checking results were cached for performance. However, failing to invalidate this cache when the security policy or the disallow list changed allowed malicious payloads to bypass type checks entirely.
Insecure Deserialization: Standard ObjectInputStream class and proxy resolution routines bypassed global TypeResolver checks. This allowed unapproved classes to be resolved and instantiated during early deserialization stages, leading to remote code execution.