vulnerability

FreeBSD: VID-157ce083-d145-11ec-ab9b-6cc21735f730 (CVE-2022-1552): PostgreSQL Server -- execute arbitrary SQL code as DBA user

Severity
9
CVSS
(AV:N/AC:L/Au:S/C:C/I:C/A:C)
Published
May 11, 2022
Added
Nov 4, 2022
Modified
Dec 10, 2025

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.

Solutions

freebsd-upgrade-package-postgresql14-serverfreebsd-upgrade-package-postgresql13-serverfreebsd-upgrade-package-postgresql12-serverfreebsd-upgrade-package-postgresql11-serverfreebsd-upgrade-package-postgresql10-server
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.