{"id":"CVE-2022-1552","published":"2022-08-31T00:00:00Z","modified":"2024-08-03T00:10:03Z","title":"A flaw was found in PostgreSQL","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.16335,"percentile":0.97037,"provenance":"source"},"cwes":[{"id":"CWE-459","name":"Incomplete Cleanup"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2081126","tags":[]},{"url":"https://www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/","tags":[]},{"url":"https://www.postgresql.org/support/security/CVE-2022-1552/","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2022-1552","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20221104-0005/","tags":[]},{"url":"https://security.gentoo.org/glsa/202211-04","tags":["vendor-advisory"]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":19.41}]},"affectedVersions":[{"vendor":"n/a","product":"postgresql","versions":["Fixed in postgresql 14.3, postgresql 13.7, postgresql 12.11, postgresql 11.16, postgresql 10.21."]}],"summary":{"text":"The flaw is in PostgreSQL's handling of privileged maintenance operations on objects owned by other users: the Autovacuum, REINDEX, CREATE INDEX, REFRESH MATERIALIZED VIEW, CLUSTER, and pg_amcheck commands apply their safety protections too late or not at all. An attacker who has permission to create non-temporary objects in at least one schema can exploit this to execute arbitrary SQL functions under a superuser identity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:45:26Z"},"euvd":{"id":"EUVD-2022-24847","exploited":false,"provenance":"source"}}