{"id":"CVE-2022-1552","details":"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.","aliases":["BIT-postgresql-2022-1552"],"modified":"2026-03-23T05:10:24.420752843Z","published":"2022-08-31T16:15:09.867Z","related":["ALSA-2022:4805","ALSA-2022:4807","MGASA-2022-0201","MGASA-2022-0313","SUSE-SU-2022:1804-1","SUSE-SU-2022:1835-1","SUSE-SU-2022:1869-1","SUSE-SU-2022:1874-1","SUSE-SU-2022:1890-1","SUSE-SU-2022:1894-1","SUSE-SU-2022:1895-1","SUSE-SU-2022:1908-1","SUSE-SU-2022:2893-1","SUSE-SU-2022:2958-1","openSUSE-SU-2024:12072-1","openSUSE-SU-2024:12073-1","openSUSE-SU-2024:12075-1","openSUSE-SU-2024:12076-1","openSUSE-SU-2024:12077-1","openSUSE-SU-2024:13243-1","openSUSE-SU-2024:14360-1","openSUSE-SU-2025:15580-1"],"references":[{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20221104-0005/"},{"type":"ADVISORY","url":"https://www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/"},{"type":"ADVISORY","url":"https://www.postgresql.org/support/security/CVE-2022-1552/"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2022-1552"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202211-04"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2081126"}],"affected":[{"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1552.json","unresolved_ranges":[{"events":[{"introduced":"10.0"},{"fixed":"10.21"}]},{"events":[{"introduced":"11.0"},{"fixed":"11.16"}]},{"events":[{"introduced":"12.0"},{"fixed":"12.11"}]},{"events":[{"introduced":"13.0"},{"fixed":"13.7"}]},{"events":[{"introduced":"14.0"},{"fixed":"14.3"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}