CVE-2022-1552

published 31 Aug 2022 · updated 3 Aug 2024

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.

9.3CriticalCVSS 8.8EPSS 16%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 16%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
=Fixed in postgresql 14.3, postgresql 13.7, postgresql 12.11, postgresql 11.16, postgresql 10.21.

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-1552 severity on Zeptric[![CVE-2022-1552](https://zeptric.io/badge/cve/CVE-2022-1552.svg)](https://zeptric.io/cve/CVE-2022-1552)