Security context

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

api-platform/core
main @ 123160b
6
Fixes
2
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
src/Serializer/AbstractItemNormalizer.php: most-fixed (4 issues). Treat as high-risk during review.
3 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.

Auth Bypass: Serialized attributes protected by per-user security constraints can leak across session boundaries when normalizers use unsafe cache keys, leading to widespread authorization bypasses (CVE-2023-25575).
Type Confusion: During denormalization, assigning untyped or legacy relations by converting IRIs without validating target class structures allows attackers to exploit type confusion to bypass resource constraints.
Auth Bypass: Under specific configurations, decorating the primary ResourceAccessChecker disables pre-read safety checks, enabling unauthorized access to critical resource states.