In the pg_partman (aka PG Partition Manager) extension before 4.5.1 for PostgreSQL, arbitrary code execution can be achieved via SECURITY DEFINER functions because an explicit search_path is not set.
Name | Vendor | Start Version | End Version |
---|---|---|---|
Pg_partman | Pgxn | * | 4.5.1 (excluding) |
Pg-partman | Ubuntu | bionic | * |
Pg-partman | Ubuntu | groovy | * |
Pg-partman | Ubuntu | hirsute | * |
Pg-partman | Ubuntu | impish | * |
Pg-partman | Ubuntu | kinetic | * |
Pg-partman | Ubuntu | trusty | * |
Pg-partman | Ubuntu | upstream | * |
Pg-partman | Ubuntu | xenial | * |