Highlights
Denial of Service: 199 prior fixes. Scrutinize any change in this area.
pkg/frontend/authenticate.go: most-fixed (48 issues). Treat as high-risk during review.
90 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: Multi-tenancy isolation and tenant role checks failed when handling system views, staging, and administrative functions, allowing cross-tenant data access and unauthorized privilege escalation. TrimSpace discrepancies on username parsing could also lead to bypasses.
Denial of Service: Query execution operators (e.g., hash join, aggregation, group, table functions) consistently leaked memory buffers allocated from the central memory pool ('mpool') during error paths or upon cancellation, causing Out-Of-Memory (OOM) server crashes.
SQL Injection: Vulnerabilities in session state migrations, background query execution, and account operations allowed attackers to execute piggybacked malicious queries due to missing backtick escaping on database identifiers and failure to restrict execution to a single parsed statement.