FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

PostgreSQL Server -- execute arbitrary SQL code as DBA user

Affected packages
postgresql14-server < 14.3
postgresql13-server < 13.7
postgresql12-server < 12.11
postgresql11-server < 11.16
postgresql10-server < 10.21


VuXML ID 157ce083-d145-11ec-ab9b-6cc21735f730
Discovery 2022-05-11
Entry 2022-05-11

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.


CVE Name CVE-2022-1552