Rapid7 Vulnerability & Exploit Database

PostgreSQL: CVE-2022-1552: Autovacuum, REINDEX, and others omit "security restricted operation" sandbox

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

PostgreSQL: CVE-2022-1552: Autovacuum, REINDEX, and others omit "security restricted operation" sandbox

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
05/13/2022
Created
05/14/2022
Added
05/13/2022
Modified
01/15/2024

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 objects in at least one schema to execute arbitrary SQL functions under a superuser identity.

Solution(s)

  • postgres-upgrade-12_11
  • postgres-upgrade-13_7
  • postgres-upgrade-14_3

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;