Security context

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

jbossas/jboss-invocation
main @ 89293ae
3
Fixes
0
CVEs
HIGH
Peak severity
0.0%
Coverage
Highlights
Privilege Escalation: 2 prior fixes. Scrutinize any change in this area.
src/main/java/org/jboss/invocation/PrivilegedInterceptor.java: most-fixed (2 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.

Privilege Escalation: The component inherently executed arbitrary invocation chains inside an AccessController.doPrivileged block, allowing untrusted callers to perform actions with the full permissions of the application server. The class had to be removed entirely.
Auth Bypass: Untrusted code could retrieve the PrivilegedInterceptor singleton or factory references without authorization because the retrieval methods lacked JVM permission checks, enabling unauthorized execution of privileged operations.
Privilege Escalation: Modifying the Thread Context ClassLoader (TCCL) within an AccessController.doPrivileged block allowed unauthorized callers to manipulate class loading scopes. Removing the privileged wrapper ensures the caller's actual security permissions are respected.