CVE-2022-1552
Public on 2022-08-05
Modified on 2024-05-08
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
CVSS v3 Base Score
See breakdown
Affected Packages
Platform | Package | Release Date | Advisory | Status |
---|---|---|---|---|
Amazon Linux 2 - Postgresql12 Extra | libpq | 2023-08-07 | ALAS2POSTGRESQL12-2023-003 | Fixed |
Amazon Linux 2 - Postgresql10 Extra | postgresql | No Fix Planned | ||
Amazon Linux 2 - Core | postgresql | 2022-09-01 | ALAS2-2022-1843 | Fixed |
Amazon Linux 2 - Postgresql11 Extra | postgresql | 2023-08-07 | ALAS2POSTGRESQL11-2023-002 | Fixed |
Amazon Linux 2 - Postgresql12 Extra | postgresql | 2023-08-07 | ALAS2POSTGRESQL12-2023-002 | Fixed |
Amazon Linux 2 - Postgresql13 Extra | postgresql | 2023-08-07 | ALAS2POSTGRESQL13-2023-002 | Fixed |
Amazon Linux 2 - Postgresql14 Extra | postgresql | 2023-08-07 | ALAS2POSTGRESQL14-2023-002 | Fixed |
Amazon Linux 2023 | postgresql15 | Not Affected |
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 |