Highlights
Privilege Escalation: 3 prior fixes. Scrutinize any change in this area.
sql/aiven_extras.sql: 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.
Privilege Escalation: SECURITY DEFINER functions executing without locked-down search paths or using unqualified function calls allow low-privileged database users to hijack execution flow and run arbitrary commands with superuser privileges. This represents the primary attack vector exploited in CVE-2023-32305.
Insecure Search Path / SQL Injection: Failing to qualify operators (such as the '=' operator) can allow attackers to hijack comparisons via user-defined operators in a malicious schema, leading to unauthorized SQL execution during administrative actions.