CVE-2022-1552

HIGH

PostgreSQL - Privilege Escalation

Title source: llm

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.

Scores

CVSS v3 8.8
EPSS 0.0304
EPSS Percentile 86.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE
CWE-89 CWE-459
Status published

Affected Products (1)

postgresql/postgresql < 10.21

Timeline

Published Aug 31, 2022
Tracked Since Feb 18, 2026