CVE Vulnerabilities

CVE-2022-1552

Incomplete Cleanup

Published: Aug 31, 2022 | Modified: Nov 07, 2023
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

A flaw was found in PostgreSQL. There is an issue with incomplete efforts to operate safely when a privileged user is maintaining another users 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.

Weakness

The product does not properly “clean up” and remove temporary or supporting resources after they have been used.

Affected Software

Name Vendor Start Version End Version
Postgresql Postgresql 10.0 (including) 10.21 (excluding)
Postgresql Postgresql 11.0 (including) 11.16 (excluding)
Postgresql Postgresql 12.0 (including) 12.11 (excluding)
Postgresql Postgresql 13.0 (including) 13.7 (excluding)
Postgresql Postgresql 14.0 (including) 14.3 (excluding)

Potential Mitigations

References