CVE-2022-1552

Public on 2022-08-05
Modified on 2024-01-17
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.

Severity
Important
See what this means
CVSS v3 Base Score
8.8
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 2 - Postgresql12 Extra libpq 2023-08-07 05:59 ALAS2POSTGRESQL12-2023-003
Amazon Linux 2 - Core postgresql 2022-09-01 21:09 ALAS2-2022-1843
Amazon Linux 2 - Postgresql11 Extra postgresql 2023-08-07 05:59 ALAS2POSTGRESQL11-2023-002
Amazon Linux 2 - Postgresql12 Extra postgresql 2023-08-07 05:59 ALAS2POSTGRESQL12-2023-002
Amazon Linux 2 - Postgresql13 Extra postgresql 2023-08-07 05:59 ALAS2POSTGRESQL13-2023-002
Amazon Linux 2 - Postgresql14 Extra postgresql 2023-08-07 05:59 ALAS2POSTGRESQL14-2023-002

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD CVSSv3 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H