NetSight
high8.8

CVE-2022-1552

A flaw was found in PostgreSQL.

Impact

A flaw was found in PostgreSQL. There is an issue with incomplete efforts to operate safely when a privileged user is maintaining another user's objects. The Autovacuum, REINDEX, CREATE INDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and pg_amcheck commands activated relevant protections too late or not at all during the process. This flaw allows an attacker with permission to create non-temporary objects in at least one schema to execute arbitrary SQL functions under a superuser identity.

Affected products

VendorProductAffected versions
PostgresqlPostgresql
from 10.0 before 10.21
from 11.0 before 11.16
from 12.0 before 12.11
from 13.0 before 13.7
from 14.0 before 14.3

Weakness classification

References