logo
DATABASE RESOURCES PRICING ABOUT US

PostgreSQL Server -- execute arbitrary SQL code as DBA user

Description

The PostgreSQL project reports: Confine additional operations within "security restricted operation" sandboxes. Autovacuum, CLUSTER, CREATE INDEX, REINDEX, REFRESH MATERIALIZED VIEW, and pg_amcheck activated the "security restricted operation" protection mechanism too late, or even not at all in some code paths. A user having permission to create non-temporary objects within a database could define an object that would execute arbitrary SQL code with superuser permissions the next time that autovacuum processed the object, or that some superuser ran one of the affected commands against it.


Affected Package


OS OS Version Package Name Package Version
FreeBSD any postgresql14-server 14.3
FreeBSD any postgresql13-server 13.7
FreeBSD any postgresql12-server 12.11
FreeBSD any postgresql11-server 11.16
FreeBSD any postgresql10-server 10.21

Related