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.
2022-08-31T16:15:09.867
2024-11-21T06:40:57.223
Modified
CVSSv3.1: 8.8 (HIGH)
Type | Vendor | Product | Version/Range | Vulnerable? |
---|---|---|---|---|
Application | postgresql | postgresql | < 10.21 | Yes |
Application | postgresql | postgresql | < 11.16 | Yes |
Application | postgresql | postgresql | < 12.11 | Yes |
Application | postgresql | postgresql | < 13.7 | Yes |
Application | postgresql | postgresql | < 14.3 | Yes |