Security context

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

yangzongzhuan/ruoyi-vue
master @ 41720e6
27
Fixes
1
CVEs
CRITICAL
Peak severity
37.5%
Coverage
Highlights
Auth Bypass: 8 prior fixes. Scrutinize any change in this area.
ruoyi-framework: most-fixed (3 issues). Treat as high-risk during review.
12 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: The application historically used substring or pattern-matching comparisons for role and permission strings instead of exact matches, enabling unintended privilege escalation. Developers must enforce strict equality checks.
Deserialization: Untrusted data deserialization through Redis serialization layers with open auto-type settings can lead to remote code execution. A strict package whitelist must always be enforced.
Path Traversal: Accepting user-controlled file names directly to the file transfer interface permits directory traversal attacks. Utilizing random UUID file-naming policies mitigates this risk.