Security context

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

grpc/grpc-java
master @ 71a10dc
2
Fixes
0
CVEs
MEDIUM
Peak severity
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
core/src/main/java/io/grpc/internal/ManagedChannelImpl.java: 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.

Auth Bypass: Incomplete implementation of equals/hashCode in UpstreamTlsContext configuration models caused structural loss of validation context, leading to silent bypasses of SAN validation during TLS handshakes. Developers must ensure all configuration structures influencing trust managers strictly implement deep equality checks.
Auth Bypass: Bearer tokens and other high-privilege CallCredentials were leaked across security boundaries when parent channels implicitly propagated credentials to Out-Of-Band (OOB) channels targeting a different authority. Strict authority validation and explicit exclusion policies must be enforced during channel creation.