{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-1552","id":"CVE-2022-1552","title":"PostgreSQL: with permission to create non-temporary objects in at least one schema","description":"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 obje","descriptionLong":"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.","published":"2022-08-31T00:00:00.000Z","updated":"2026-06-17T04:22:39.613Z","reserved":"2022-05-02T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["postgresql"],"affectedProducts":[{"vendor":"n/a","product":"postgresql","defaultStatus":null,"versions":[{"version":"Fixed in postgresql 14.3, postgresql 13.7, postgresql 12.11, postgresql 11.16, postgresql 10.21.","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-459","CWE-89"],"aliases":["BIT-postgresql-2022-1552"],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2081126","tags":["x_transferred","Issue Tracking","Patch","Third Party Advisory","fix"]},{"url":"https://www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/","tags":["x_transferred","Vendor Advisory","advisory"]},{"url":"https://www.postgresql.org/support/security/CVE-2022-1552/","tags":["x_transferred","Vendor Advisory","advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2022-1552","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20221104-0005/","tags":["x_transferred","Third Party Advisory","advisory"]},{"url":"https://security.gentoo.org/glsa/202211-04","tags":["vendor-advisory","x_transferred","Third Party Advisory","advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.16335,"epssPercentile":0.97023,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-1552","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1552","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-1552","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-1552","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["postgresql"],"critical":["EPSS 16% with CVSS 8.8"],"attention":null}